pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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>com.l2jserver</groupId>
  5. <artifactId>l2j-server-datapack</artifactId>
  6. <version>2.6.2.0-SNAPSHOT</version>
  7. <name>L2J DataPack</name>
  8. <properties>
  9. <maven.compiler.source>14</maven.compiler.source>
  10. <maven.compiler.target>14</maven.compiler.target>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <slf4j.version>1.7.30</slf4j.version>
  14. <!-- L2J -->
  15. <l2j-server-game.version>2.6.2.0-SNAPSHOT</l2j-server-game.version>
  16. <!-- Test -->
  17. <testng.version>7.3.0</testng.version>
  18. <easymock.version>4.2</easymock.version>
  19. <powermock.version>2.0.7</powermock.version>
  20. <!-- Plugins -->
  21. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  22. <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.slf4j</groupId>
  27. <artifactId>slf4j-api</artifactId>
  28. <version>${slf4j.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.l2jserver</groupId>
  32. <artifactId>l2j-server-game</artifactId>
  33. <version>${l2j-server-game.version}</version>
  34. </dependency>
  35. <!-- Test -->
  36. <dependency>
  37. <groupId>org.testng</groupId>
  38. <artifactId>testng</artifactId>
  39. <version>${testng.version}</version>
  40. <scope>test</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.easymock</groupId>
  44. <artifactId>easymock</artifactId>
  45. <version>${easymock.version}</version>
  46. <scope>test</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.powermock</groupId>
  50. <artifactId>powermock-core</artifactId>
  51. <version>${powermock.version}</version>
  52. <scope>test</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.powermock</groupId>
  56. <artifactId>powermock-api-easymock</artifactId>
  57. <version>${powermock.version}</version>
  58. <scope>test</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.powermock</groupId>
  62. <artifactId>powermock-module-testng</artifactId>
  63. <version>${powermock.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-jar-plugin</artifactId>
  72. <version>${maven-jar-plugin.version}</version>
  73. <executions>
  74. <execution>
  75. <id>default-jar</id>
  76. <phase>never</phase>
  77. <configuration>
  78. <finalName>unwanted</finalName>
  79. <classifier>unwanted</classifier>
  80. </configuration>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-assembly-plugin</artifactId>
  87. <version>${maven-assembly-plugin.version}</version><!--$NO-MVN-MAN-VER$ -->
  88. <executions>
  89. <execution>
  90. <phase>package</phase>
  91. <goals>
  92. <goal>single</goal>
  93. </goals>
  94. <configuration>
  95. <finalName>${project.artifactId}-${project.version}</finalName>
  96. <appendAssemblyId>false</appendAssemblyId>
  97. <descriptors>
  98. <descriptor>src/main/assembly/zip.xml</descriptor>
  99. </descriptors>
  100. </configuration>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>