pom.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>fr.pavnay</groupId>
  6. <artifactId>rabbits-vs-hunter</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <dependencies>
  10. <!-- Tools -->
  11. <dependency>
  12. <groupId>org.apache.commons</groupId>
  13. <artifactId>commons-collections4</artifactId>
  14. <version>4.0</version>
  15. </dependency>
  16. <dependency>
  17. <groupId>log4j</groupId>
  18. <artifactId>log4j</artifactId>
  19. <version>1.2.17</version>
  20. </dependency>
  21. <!-- Testing -->
  22. <dependency>
  23. <groupId>junit</groupId>
  24. <artifactId>junit</artifactId>
  25. <version>4.12</version>
  26. <scope>test</scope>
  27. </dependency>
  28. </dependencies>
  29. <properties>
  30. <maven.compiler.source>1.7</maven.compiler.source>
  31. <maven.compiler.target>1.7</maven.compiler.target>
  32. </properties>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <artifactId>maven-assembly-plugin</artifactId>
  37. <version>3.1.0</version>
  38. <configuration>
  39. <descriptorRefs>
  40. <descriptorRef>jar-with-dependencies</descriptorRef>
  41. </descriptorRefs>
  42. <archive>
  43. <manifest>
  44. <mainClass>fr.pavnay.rabbits.Main</mainClass>
  45. </manifest>
  46. </archive>
  47. </configuration>
  48. <executions>
  49. <execution>
  50. <id>make-assembly</id>
  51. <!-- this is used for inheritance merges -->
  52. <phase>package</phase>
  53. <!-- bind to the packaging phase -->
  54. <goals>
  55. <goal>single</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>