2
0

pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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-game</artifactId>
  7. <version>2.6.3.0-SNAPSHOT</version>
  8. <name>L2J Game Server</name>
  9. <properties>
  10. <maven.compiler.source>17</maven.compiler.source>
  11. <maven.compiler.target>17</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <slf4j.version>2.0.9</slf4j.version>
  15. <log4j.version>2.21.1</log4j.version>
  16. <InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
  17. <gson.version>2.10.1</gson.version>
  18. <owner.version>1.0.12</owner.version>
  19. <jda.version>v4.4.0</jda.version>
  20. <!-- L2J -->
  21. <l2j-server-commons.version>2.6.6.4</l2j-server-commons.version>
  22. <l2j-server-geo-driver.version>2.6.4.1</l2j-server-geo-driver.version>
  23. <!-- Test -->
  24. <junit-jupiter.version>5.10.1</junit-jupiter.version>
  25. <mockito.version>5.7.0</mockito.version>
  26. <mockito-inline.version>5.2.0</mockito-inline.version>
  27. <assertj-core.version>3.24.2</assertj-core.version>
  28. <!-- Plugins -->
  29. <dependency-check-maven.version>8.4.3</dependency-check-maven.version>
  30. <maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
  31. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  32. <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
  33. </properties>
  34. <repositories>
  35. <repository>
  36. <id>jitpack.io</id>
  37. <url>https://jitpack.io</url>
  38. </repository>
  39. </repositories>
  40. <build>
  41. <finalName>l2jserver</finalName>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-surefire-plugin</artifactId>
  46. <version>${maven-surefire-plugin.version}</version>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-jar-plugin</artifactId>
  51. <version>${maven-jar-plugin.version}</version>
  52. <configuration>
  53. <archive>
  54. <manifest>
  55. <addClasspath>true</addClasspath>
  56. <classpathPrefix>libs/</classpathPrefix>
  57. <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
  58. </manifest>
  59. </archive>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-assembly-plugin</artifactId>
  65. <version>${maven-assembly-plugin.version}</version>
  66. <executions>
  67. <execution>
  68. <phase>package</phase>
  69. <goals>
  70. <goal>single</goal>
  71. </goals>
  72. <configuration>
  73. <finalName>${project.artifactId}-${project.version}</finalName>
  74. <appendAssemblyId>false</appendAssemblyId>
  75. <descriptors>
  76. <descriptor>src/main/assembly/zip.xml</descriptor>
  77. </descriptors>
  78. </configuration>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <groupId>org.owasp</groupId>
  84. <artifactId>dependency-check-maven</artifactId>
  85. <version>${dependency-check-maven.version}</version>
  86. <configuration>
  87. <failBuildOnCVSS>8</failBuildOnCVSS>
  88. <assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
  89. </configuration>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>check</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. <dependencies>
  101. <dependency>
  102. <groupId>org.slf4j</groupId>
  103. <artifactId>slf4j-api</artifactId>
  104. <version>${slf4j.version}</version>
  105. </dependency>
  106. <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
  107. <dependency>
  108. <groupId>org.slf4j</groupId>
  109. <artifactId>jul-to-slf4j</artifactId>
  110. <version>${slf4j.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.apache.logging.log4j</groupId>
  114. <artifactId>log4j-slf4j2-impl</artifactId>
  115. <version>${log4j.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.apache.logging.log4j</groupId>
  119. <artifactId>log4j-core</artifactId>
  120. <version>${log4j.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.mdkt.compiler</groupId>
  124. <artifactId>InMemoryJavaCompiler</artifactId>
  125. <version>${InMemoryJavaCompiler.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.google.code.gson</groupId>
  129. <artifactId>gson</artifactId>
  130. <version>${gson.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.aeonbits.owner</groupId>
  134. <artifactId>owner-java8</artifactId>
  135. <version>${owner.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.github.discord-jda</groupId>
  139. <artifactId>JDA</artifactId>
  140. <version>${jda.version}</version>
  141. </dependency>
  142. <!-- L2J -->
  143. <dependency>
  144. <groupId>org.bitbucket.l2jserver</groupId>
  145. <artifactId>l2j-server-commons</artifactId>
  146. <version>${l2j-server-commons.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.bitbucket.l2jserver</groupId>
  150. <artifactId>l2j-server-geo-driver</artifactId>
  151. <version>${l2j-server-geo-driver.version}</version>
  152. </dependency>
  153. <!-- Test -->
  154. <dependency>
  155. <groupId>org.junit.jupiter</groupId>
  156. <artifactId>junit-jupiter-engine</artifactId>
  157. <version>${junit-jupiter.version}</version>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.junit.jupiter</groupId>
  162. <artifactId>junit-jupiter-params</artifactId>
  163. <version>${junit-jupiter.version}</version>
  164. <scope>test</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.mockito</groupId>
  168. <artifactId>mockito-core</artifactId>
  169. <version>${mockito.version}</version>
  170. <scope>test</scope>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.mockito</groupId>
  174. <artifactId>mockito-junit-jupiter</artifactId>
  175. <version>${mockito.version}</version>
  176. <scope>test</scope>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.mockito</groupId>
  180. <artifactId>mockito-inline</artifactId>
  181. <version>${mockito-inline.version}</version>
  182. <scope>test</scope>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.assertj</groupId>
  186. <artifactId>assertj-core</artifactId>
  187. <version>${assertj-core.version}</version>
  188. <scope>test</scope>
  189. </dependency>
  190. </dependencies>
  191. </project>