pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. <!-- L2J -->
  13. <l2j-server-game.version>2.6.3.0-SNAPSHOT</l2j-server-game.version>
  14. <!-- Test -->
  15. <junit-jupiter.version>5.9.2</junit-jupiter.version>
  16. <mockito.version>5.0.0</mockito.version>
  17. <assertj-core.version>3.24.2</assertj-core.version>
  18. <!-- Plugins -->
  19. <maven-surefire-plugin.version>3.0.0-M8</maven-surefire-plugin.version>
  20. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  21. <maven-assembly-plugin.version>3.4.2</maven-assembly-plugin.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>com.l2jserver</groupId>
  26. <artifactId>l2j-server-game</artifactId>
  27. <version>${l2j-server-game.version}</version>
  28. </dependency>
  29. <!-- Test -->
  30. <dependency>
  31. <groupId>org.junit.jupiter</groupId>
  32. <artifactId>junit-jupiter-engine</artifactId>
  33. <version>${junit-jupiter.version}</version>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.junit.jupiter</groupId>
  38. <artifactId>junit-jupiter-params</artifactId>
  39. <version>${junit-jupiter.version}</version>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.mockito</groupId>
  44. <artifactId>mockito-core</artifactId>
  45. <version>${mockito.version}</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.mockito</groupId>
  50. <artifactId>mockito-junit-jupiter</artifactId>
  51. <version>${mockito.version}</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.mockito</groupId>
  56. <artifactId>mockito-inline</artifactId>
  57. <version>${mockito.version}</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.assertj</groupId>
  62. <artifactId>assertj-core</artifactId>
  63. <version>${assertj-core.version}</version>
  64. <scope>test</scope>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-surefire-plugin</artifactId>
  72. <version>${maven-surefire-plugin.version}</version>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <version>${maven-jar-plugin.version}</version>
  78. <executions>
  79. <execution>
  80. <id>default-jar</id>
  81. <phase>never</phase>
  82. <configuration>
  83. <finalName>unwanted</finalName>
  84. <classifier>unwanted</classifier>
  85. </configuration>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-assembly-plugin</artifactId>
  92. <version>${maven-assembly-plugin.version}</version>
  93. <executions>
  94. <execution>
  95. <phase>package</phase>
  96. <goals>
  97. <goal>single</goal>
  98. </goals>
  99. <configuration>
  100. <finalName>${project.artifactId}-${project.version}</finalName>
  101. <appendAssemblyId>false</appendAssemblyId>
  102. <descriptors>
  103. <descriptor>src/main/assembly/zip.xml</descriptor>
  104. </descriptors>
  105. </configuration>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>