pom.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.minesweeper</groupId>
  5. <artifactId>tankernn-minesweeper</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <name>Tankernn Minesweeper</name>
  8. <description>A simple minesweeper interpretation.</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. <plugins>
  26. <plugin>
  27. <artifactId>maven-assembly-plugin</artifactId>
  28. <executions>
  29. <execution>
  30. <phase>package</phase>
  31. <goals>
  32. <goal>single</goal>
  33. </goals>
  34. <configuration>
  35. <archive>
  36. <manifest>
  37. <addClasspath>true</addClasspath>
  38. <mainClass>eu.tankernn.mines.Mines</mainClass>
  39. </manifest>
  40. </archive>
  41. <!-- The filename of the assembled distribution file default ${project.build.finalName} -->
  42. <finalName>${project.build.finalName}</finalName>
  43. <appendAssemblyId>false</appendAssemblyId>
  44. </configuration>
  45. </execution>
  46. </executions>
  47. <configuration>
  48. <descriptorRefs>
  49. <descriptorRef>jar-with-dependencies</descriptorRef>
  50. </descriptorRefs>
  51. </configuration>
  52. </plugin>
  53. <plugin>
  54. <groupId>com.googlecode.mavennatives</groupId>
  55. <artifactId>maven-nativedependencies-plugin</artifactId>
  56. <version>0.0.6</version>
  57. <executions>
  58. <execution>
  59. <id>unpacknatives</id>
  60. <phase>package</phase>
  61. <goals>
  62. <goal>copy</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. <resources>
  69. <resource>
  70. <directory>res</directory>
  71. <excludes>
  72. </excludes>
  73. </resource>
  74. </resources>
  75. </build>
  76. <properties>
  77. <maven.compiler.source>1.8</maven.compiler.source>
  78. <maven.compiler.target>1.8</maven.compiler.target>
  79. <build.number>SNAPSHOT</build.number>
  80. </properties>
  81. </project>