pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.l2jserver</groupId>
  4. <artifactId>l2j-server-datapack</artifactId>
  5. <version>2.6.3.0-SNAPSHOT</version>
  6. <name>L2J DataPack</name>
  7. <properties>
  8. <maven.compiler.source>17</maven.compiler.source>
  9. <maven.compiler.target>17</maven.compiler.target>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  12. <slf4j.version>1.7.32</slf4j.version>
  13. <!-- L2J -->
  14. <l2j-server-game.version>2.6.3.0-SNAPSHOT</l2j-server-game.version>
  15. <!-- Test -->
  16. <junit-jupiter.version>5.8.0</junit-jupiter.version>
  17. <mockito.version>3.12.4</mockito.version>
  18. <!-- Plugins -->
  19. <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
  20. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  21. <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.slf4j</groupId>
  26. <artifactId>slf4j-api</artifactId>
  27. <version>${slf4j.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.l2jserver</groupId>
  31. <artifactId>l2j-server-game</artifactId>
  32. <version>${l2j-server-game.version}</version>
  33. </dependency>
  34. <!-- Test -->
  35. <dependency>
  36. <groupId>org.junit.jupiter</groupId>
  37. <artifactId>junit-jupiter-engine</artifactId>
  38. <version>${junit-jupiter.version}</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.junit.jupiter</groupId>
  43. <artifactId>junit-jupiter-params</artifactId>
  44. <version>${junit-jupiter.version}</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.mockito</groupId>
  49. <artifactId>mockito-core</artifactId>
  50. <version>${mockito.version}</version>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.mockito</groupId>
  55. <artifactId>mockito-junit-jupiter</artifactId>
  56. <version>${mockito.version}</version>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.mockito</groupId>
  61. <artifactId>mockito-inline</artifactId>
  62. <version>${mockito.version}</version>
  63. <scope>test</scope>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-surefire-plugin</artifactId>
  71. <version>${maven-surefire-plugin.version}</version>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-jar-plugin</artifactId>
  76. <version>${maven-jar-plugin.version}</version>
  77. <executions>
  78. <execution>
  79. <id>default-jar</id>
  80. <phase>never</phase>
  81. <configuration>
  82. <finalName>unwanted</finalName>
  83. <classifier>unwanted</classifier>
  84. </configuration>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-assembly-plugin</artifactId>
  91. <version>${maven-assembly-plugin.version}</version><!--$NO-MVN-MAN-VER$ -->
  92. <executions>
  93. <execution>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>single</goal>
  97. </goals>
  98. <configuration>
  99. <finalName>${project.artifactId}-${project.version}</finalName>
  100. <appendAssemblyId>false</appendAssemblyId>
  101. <descriptors>
  102. <descriptor>src/main/assembly/zip.xml</descriptor>
  103. </descriptors>
  104. </configuration>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>