pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>eu.tankernn.game</groupId>
  5. <artifactId>tankernn-3d-game</artifactId>
  6. <version>0.0.2</version>
  7. <name>Tankernn 3D Game</name>
  8. <repositories>
  9. <repository>
  10. <id>tankernn</id>
  11. <name>Tankernn Maven Repository</name>
  12. <url>http://repo.maven.tankernn.eu</url>
  13. </repository>
  14. </repositories>
  15. <dependencies>
  16. <dependency>
  17. <groupId>eu.tankernn.gameEngine</groupId>
  18. <artifactId>tankernn-game-engine</artifactId>
  19. <version>1.2</version>
  20. </dependency>
  21. <!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
  22. <dependency>
  23. <groupId>io.netty</groupId>
  24. <artifactId>netty-all</artifactId>
  25. <version>4.1.6.Final</version>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  30. <plugins>
  31. <plugin>
  32. <artifactId>maven-assembly-plugin</artifactId>
  33. <executions>
  34. <execution>
  35. <phase>package</phase>
  36. <goals>
  37. <goal>single</goal>
  38. </goals>
  39. <configuration>
  40. <archive>
  41. <manifest>
  42. <addClasspath>true</addClasspath>
  43. <mainClass>eu.tankernn.game.Game</mainClass>
  44. </manifest>
  45. <manifestEntries>
  46. <Specification-Title>${project.name}</Specification-Title>
  47. <Specification-Version>${project.version}</Specification-Version>
  48. <Implementation-Version>${build.number}</Implementation-Version>
  49. </manifestEntries>
  50. </archive>
  51. <!-- The filename of the assembled distribution file defualt ${project.build.finalName} -->
  52. <finalName>${project.build.finalName}</finalName>
  53. <appendAssemblyId>false</appendAssemblyId>
  54. </configuration>
  55. </execution>
  56. </executions>
  57. <configuration>
  58. <descriptorRefs>
  59. <descriptorRef>jar-with-dependencies</descriptorRef>
  60. </descriptorRefs>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>com.googlecode.mavennatives</groupId>
  65. <artifactId>maven-nativedependencies-plugin</artifactId>
  66. <version>0.0.6</version>
  67. <executions>
  68. <execution>
  69. <id>unpacknatives</id>
  70. <phase>package</phase>
  71. <goals>
  72. <goal>copy</goal>
  73. </goals>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. </plugins>
  78. <resources>
  79. <resource>
  80. <directory>res</directory>
  81. <excludes>
  82. </excludes>
  83. </resource>
  84. <resource>
  85. <directory>src/main/java</directory>
  86. <includes>
  87. <include>**/*.glsl</include>
  88. </includes>
  89. </resource>
  90. </resources>
  91. </build>
  92. <properties>
  93. <maven.compiler.source>1.8</maven.compiler.source>
  94. <maven.compiler.target>1.8</maven.compiler.target>
  95. <build.number>SNAPSHOT</build.number>
  96. </properties>
  97. </project>