pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.pong</groupId>
  5. <artifactId>tankernn-pong</artifactId>
  6. <version>0.0.1</version>
  7. <name>Pong</name>
  8. <description>Pong. What more can I say?</description>
  9. <repositories>
  10. <repository>
  11. <id>tankernn</id>
  12. <name>Tankernn Maven Repository</name>
  13. <url>http://repo.maven.tankernn.eu</url>
  14. </repository>
  15. </repositories>
  16. <dependencies>
  17. <dependency>
  18. <groupId>eu.tankernn.gameEngine</groupId>
  19. <artifactId>tankernn-game-engine</artifactId>
  20. <version>1.2</version>
  21. </dependency>
  22. </dependencies>
  23. <build>
  24. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  25. <sourceDirectory>src</sourceDirectory>
  26. <plugins>
  27. <plugin>
  28. <artifactId>maven-assembly-plugin</artifactId>
  29. <executions>
  30. <execution>
  31. <phase>package</phase>
  32. <goals>
  33. <goal>single</goal>
  34. </goals>
  35. <configuration>
  36. <archive>
  37. <manifest>
  38. <addClasspath>true</addClasspath>
  39. <mainClass>eu.tankernn.pong.Pong</mainClass>
  40. </manifest>
  41. </archive>
  42. <!-- The filename of the assembled distribution file default ${project.build.finalName} -->
  43. <finalName>${project.build.finalName}</finalName>
  44. <appendAssemblyId>false</appendAssemblyId>
  45. </configuration>
  46. </execution>
  47. </executions>
  48. <configuration>
  49. <descriptorRefs>
  50. <descriptorRef>jar-with-dependencies</descriptorRef>
  51. </descriptorRefs>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <groupId>com.googlecode.mavennatives</groupId>
  56. <artifactId>maven-nativedependencies-plugin</artifactId>
  57. <version>0.0.6</version>
  58. <executions>
  59. <execution>
  60. <id>unpacknatives</id>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>copy</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. </plugins>
  69. <resources>
  70. <resource>
  71. <directory>res</directory>
  72. <excludes>
  73. </excludes>
  74. </resource>
  75. </resources>
  76. </build>
  77. <properties>
  78. <maven.compiler.source>1.8</maven.compiler.source>
  79. <maven.compiler.target>1.8</maven.compiler.target>
  80. <build.number>SNAPSHOT</build.number>
  81. </properties>
  82. </project>