pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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>com.l2jserver</groupId>
  6. <artifactId>l2j-server-datapack</artifactId>
  7. <version>2.6.3.0-SNAPSHOT</version>
  8. <name>L2J DataPack</name>
  9. <properties>
  10. <maven.compiler.source>21</maven.compiler.source>
  11. <maven.compiler.target>21</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <!-- L2J -->
  15. <l2j-server-game.version>2.6.3.0-SNAPSHOT</l2j-server-game.version>
  16. <!-- Test -->
  17. <junit-jupiter.version>5.10.1</junit-jupiter.version>
  18. <mockito.version>5.7.0</mockito.version>
  19. <mockito-inline.version>5.2.0</mockito-inline.version>
  20. <assertj-core.version>3.24.2</assertj-core.version>
  21. <!-- Plugins -->
  22. <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
  23. <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  24. <maven-install-plugin.version>3.1.1</maven-install-plugin.version>
  25. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  26. <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
  27. </properties>
  28. <dependencies>
  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-inline.version}</version>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.assertj</groupId>
  67. <artifactId>assertj-core</artifactId>
  68. <version>${assertj-core.version}</version>
  69. <scope>test</scope>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-surefire-plugin</artifactId>
  77. <version>${maven-surefire-plugin.version}</version>
  78. <configuration>
  79. <argLine>-XX:+EnableDynamicAgentLoading -Xshare:off</argLine>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>${maven-compiler-plugin.version}</version>
  86. <configuration>
  87. <proc>full</proc>
  88. </configuration>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-install-plugin</artifactId>
  93. <version>${maven-install-plugin.version}</version>
  94. <executions>
  95. <execution>
  96. <id>default-install</id>
  97. <phase>none</phase>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-jar-plugin</artifactId>
  104. <version>${maven-jar-plugin.version}</version>
  105. <executions>
  106. <execution>
  107. <id>default-jar</id>
  108. <phase>never</phase>
  109. <configuration>
  110. <finalName>unwanted</finalName>
  111. <classifier>unwanted</classifier>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-assembly-plugin</artifactId>
  119. <version>${maven-assembly-plugin.version}</version>
  120. <executions>
  121. <execution>
  122. <phase>package</phase>
  123. <goals>
  124. <goal>single</goal>
  125. </goals>
  126. <configuration>
  127. <finalName>${project.artifactId}-${project.version}</finalName>
  128. <appendAssemblyId>false</appendAssemblyId>
  129. <descriptors>
  130. <descriptor>src/main/assembly/zip.xml</descriptor>
  131. </descriptors>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>