pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright (c) 2009, 2012 Mountainminds GmbH & Co. KG and Contributors
  3. All rights reserved. This program and the accompanying materials are made
  4. available under the terms of the Eclipse Public License v1.0 which accompanies
  5. this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
  6. Contributors: Marc R. Hoffmann - initial API and implementation -->
  7. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  8. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>eu.tankernn.chat</groupId>
  11. <artifactId>tankernn-chat</artifactId>
  12. <version>4.0</version>
  13. <packaging>jar</packaging>
  14. <name>TankernnChat</name>
  15. <url>https://github.com/Tankernn/TankernnChat</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>junit</groupId>
  19. <artifactId>junit</artifactId>
  20. <version>4.10</version>
  21. <scope>test</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.reflections</groupId>
  25. <artifactId>reflections</artifactId>
  26. <version>0.9.10</version>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.jacoco</groupId>
  34. <artifactId>jacoco-maven-plugin</artifactId>
  35. <version>0.7.5.201505241946</version>
  36. <executions>
  37. <execution>
  38. <goals>
  39. <goal>prepare-agent</goal>
  40. </goals>
  41. </execution>
  42. <execution>
  43. <id>report</id>
  44. <phase>test</phase>
  45. <goals>
  46. <goal>report</goal>
  47. </goals>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-compiler-plugin</artifactId>
  54. <version>3.1</version>
  55. <configuration>
  56. <source>1.8</source>
  57. <target>1.8</target>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-assembly-plugin</artifactId>
  63. <version>2.2</version>
  64. <configuration>
  65. <appendAssemblyId>false</appendAssemblyId>
  66. <descriptorRefs>
  67. <descriptorRef>jar-with-dependencies</descriptorRef>
  68. </descriptorRefs>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <id>Client</id>
  73. <phase>package</phase>
  74. <goals>
  75. <goal>single</goal>
  76. </goals>
  77. <configuration>
  78. <finalName>${project.build.finalName}-client</finalName>
  79. <archive>
  80. <manifest>
  81. <mainClass>client.ChatClient</mainClass>
  82. </manifest>
  83. </archive>
  84. </configuration>
  85. </execution>
  86. <execution>
  87. <id>Server</id>
  88. <phase>package</phase>
  89. <goals>
  90. <goal>single</goal>
  91. </goals>
  92. <configuration>
  93. <finalName>${project.build.finalName}-server</finalName>
  94. <archive>
  95. <manifest>
  96. <mainClass>server.Server</mainClass>
  97. </manifest>
  98. </archive>
  99. </configuration>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. <properties>
  106. <build.number>SNAPSHOT</build.number>
  107. </properties>
  108. </project>