pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.gameEngine</groupId>
  5. <artifactId>tankernn-game-engine</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <url>http://tankernn.eu</url>
  9. <name>Tankernn Game Engine</name>
  10. <dependencies>
  11. <dependency>
  12. <groupId>junit</groupId>
  13. <artifactId>junit</artifactId>
  14. <version>4.8.2</version>
  15. <scope>test</scope>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.lwjgl.lwjgl</groupId>
  19. <artifactId>lwjgl</artifactId>
  20. <version>2.9.3</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.lwjgl.lwjgl</groupId>
  24. <artifactId>lwjgl_util</artifactId>
  25. <version>2.9.3</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.l33tlabs.twl</groupId>
  29. <artifactId>pngdecoder</artifactId>
  30. <version>1.0</version>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  35. <plugins>
  36. <plugin>
  37. <artifactId>maven-assembly-plugin</artifactId>
  38. <executions>
  39. <execution>
  40. <phase>package</phase>
  41. <goals>
  42. <goal>single</goal>
  43. </goals>
  44. <configuration>
  45. <archive>
  46. <manifest>
  47. <addClasspath>true</addClasspath>
  48. <mainClass>eu.tankernn.gameEngine.tester.MainLoop</mainClass>
  49. </manifest>
  50. <manifestEntries>
  51. <Specification-Title>${project.name}</Specification-Title>
  52. <Specification-Version>${project.version}</Specification-Version>
  53. <Implementation-Version>${build.number}</Implementation-Version>
  54. </manifestEntries>
  55. </archive>
  56. <!-- The filename of the assembled distribution file defualt ${project.build.finalName} -->
  57. <finalName>${project.build.finalName}</finalName>
  58. <appendAssemblyId>false</appendAssemblyId>
  59. </configuration>
  60. </execution>
  61. </executions>
  62. <configuration>
  63. <descriptorRefs>
  64. <descriptorRef>jar-with-dependencies</descriptorRef>
  65. </descriptorRefs>
  66. </configuration>
  67. </plugin>
  68. <plugin>
  69. <groupId>com.googlecode.mavennatives</groupId>
  70. <artifactId>maven-nativedependencies-plugin</artifactId>
  71. <version>0.0.6</version>
  72. <executions>
  73. <execution>
  74. <id>unpacknatives</id>
  75. <phase>package</phase>
  76. <goals>
  77. <goal>copy</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. </plugins>
  83. <resources>
  84. <resource>
  85. <directory>res</directory>
  86. <excludes>
  87. </excludes>
  88. </resource>
  89. <resource>
  90. <directory>src/main/java</directory>
  91. <includes>
  92. <include>**/*.glsl</include>
  93. </includes>
  94. </resource>
  95. </resources>
  96. </build>
  97. <properties>
  98. <maven.compiler.source>1.8</maven.compiler.source>
  99. <maven.compiler.target>1.8</maven.compiler.target>
  100. <build.number>SNAPSHOT</build.number>
  101. </properties>
  102. </project>