pom.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.gameoflife</groupId>
  5. <artifactId>game-of-life</artifactId>
  6. <version>1.1</version>
  7. <packaging>jar</packaging>
  8. <url>http://tankernn.eu</url>
  9. <name>Conway's Game of Life</name>
  10. <repositories>
  11. <repository>
  12. <id>tankernn-repo</id>
  13. <name>tankernn maven repository</name>
  14. <url>http://repo.maven.tankernn.eu/</url>
  15. </repository>
  16. </repositories>
  17. <dependencies>
  18. <dependency>
  19. <groupId>eu.tankernn.gameEngine</groupId>
  20. <artifactId>tankernn-game-engine</artifactId>
  21. <version>1.1</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <finalName>${project.artifactId}-${project.version}.${build.number}</finalName>
  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.gameoflife.GameOfLife</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. </build>
  70. <properties>
  71. <maven.compiler.source>1.8</maven.compiler.source>
  72. <maven.compiler.target>1.8</maven.compiler.target>
  73. <build.number>SNAPSHOT</build.number>
  74. </properties>
  75. <description>A version of the classic Game of Life originally created by John Conway.</description>
  76. </project>