pom.xml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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.1.0-SNAPSHOT</version>
  7. <name>L2J DataPack</name>
  8. <properties>
  9. <maven.compiler.source>11</maven.compiler.source>
  10. <maven.compiler.target>11</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.28</slf4j.version>
  14. <!-- L2J -->
  15. <l2j-server-game.version>2.6.1.0-SNAPSHOT</l2j-server-game.version>
  16. <!-- Test -->
  17. <testng.version>7.0.0</testng.version>
  18. <mockito.version>3.2.4</mockito.version>
  19. <!-- Plugins -->
  20. <maven-jar-plugin.version>3.1.2</maven-jar-plugin.version>
  21. <maven-assembly-plugin.version>3.1.1</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.testng</groupId>
  37. <artifactId>testng</artifactId>
  38. <version>${testng.version}</version>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.mockito</groupId>
  43. <artifactId>mockito-core</artifactId>
  44. <version>${mockito.version}</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.mockito</groupId>
  49. <artifactId>mockito-inline</artifactId>
  50. <version>${mockito.version}</version>
  51. <scope>test</scope>
  52. </dependency>
  53. </dependencies>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-jar-plugin</artifactId>
  59. <version>${maven-jar-plugin.version}</version>
  60. <executions>
  61. <execution>
  62. <id>default-jar</id>
  63. <phase>never</phase>
  64. <configuration>
  65. <finalName>unwanted</finalName>
  66. <classifier>unwanted</classifier>
  67. </configuration>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-assembly-plugin</artifactId>
  74. <version>${maven-assembly-plugin.version}</version><!--$NO-MVN-MAN-VER$ -->
  75. <executions>
  76. <execution>
  77. <phase>package</phase>
  78. <goals>
  79. <goal>single</goal>
  80. </goals>
  81. <configuration>
  82. <finalName>${project.artifactId}-${project.version}</finalName>
  83. <appendAssemblyId>false</appendAssemblyId>
  84. <descriptors>
  85. <descriptor>src/main/assembly/zip.xml</descriptor>
  86. </descriptors>
  87. </configuration>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>