pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
  29. <dependency>
  30. <groupId>io.netty</groupId>
  31. <artifactId>netty-all</artifactId>
  32. <version>4.1.8.Final</version>
  33. </dependency>
  34. </dependencies>
  35. <build>
  36. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.jacoco</groupId>
  40. <artifactId>jacoco-maven-plugin</artifactId>
  41. <version>0.7.5.201505241946</version>
  42. <executions>
  43. <execution>
  44. <goals>
  45. <goal>prepare-agent</goal>
  46. </goals>
  47. </execution>
  48. <execution>
  49. <id>report</id>
  50. <phase>test</phase>
  51. <goals>
  52. <goal>report</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <version>3.1</version>
  61. <configuration>
  62. <source>1.8</source>
  63. <target>1.8</target>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <groupId>org.apache.maven.plugins</groupId>
  68. <artifactId>maven-assembly-plugin</artifactId>
  69. <version>2.2</version>
  70. <configuration>
  71. <appendAssemblyId>false</appendAssemblyId>
  72. <descriptorRefs>
  73. <descriptorRef>jar-with-dependencies</descriptorRef>
  74. </descriptorRefs>
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <id>Client</id>
  79. <phase>package</phase>
  80. <goals>
  81. <goal>single</goal>
  82. </goals>
  83. <configuration>
  84. <finalName>${project.build.finalName}-client</finalName>
  85. <archive>
  86. <manifest>
  87. <mainClass>client.ChatClient</mainClass>
  88. </manifest>
  89. </archive>
  90. </configuration>
  91. </execution>
  92. <execution>
  93. <id>Server</id>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>single</goal>
  97. </goals>
  98. <configuration>
  99. <finalName>${project.build.finalName}-server</finalName>
  100. <archive>
  101. <manifest>
  102. <mainClass>server.Server</mainClass>
  103. </manifest>
  104. </archive>
  105. </configuration>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. <properties>
  112. <build.number>SNAPSHOT</build.number>
  113. </properties>
  114. </project>