2
0

pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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-game</artifactId>
  5. <version>2.6.3.0-SNAPSHOT</version>
  6. <name>L2J Game Server</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. <slf4j.version>1.7.32</slf4j.version>
  13. <log4j.version>2.17.0</log4j.version>
  14. <InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
  15. <gson.version>2.8.9</gson.version>
  16. <owner.version>1.0.12</owner.version>
  17. <jda.version>4.3.0_330</jda.version>
  18. <!-- L2J -->
  19. <l2j-server-commons.version>2.6.5.1</l2j-server-commons.version>
  20. <l2j-server-geo-driver.version>2.6.3.0</l2j-server-geo-driver.version>
  21. <!-- Test -->
  22. <junit-jupiter.version>5.8.2</junit-jupiter.version>
  23. <mockito.version>4.1.0</mockito.version>
  24. <!-- Plugins -->
  25. <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
  26. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  27. <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
  28. </properties>
  29. <repositories>
  30. <repository>
  31. <id>jitpack.io</id>
  32. <url>https://jitpack.io</url>
  33. </repository>
  34. <!-- JDA -->
  35. <repository>
  36. <id>m2-dv8tion</id>
  37. <name>m2-dv8tion</name>
  38. <url>https://m2.dv8tion.net/releases</url>
  39. </repository>
  40. </repositories>
  41. <build>
  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. <finalName>l2jserver</finalName>
  54. <archive>
  55. <manifest>
  56. <addClasspath>true</addClasspath>
  57. <classpathPrefix>libs/</classpathPrefix>
  58. <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
  59. </manifest>
  60. </archive>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-assembly-plugin</artifactId>
  66. <version>${maven-assembly-plugin.version}</version><!-- $NO-MVN-MAN-VER$ -->
  67. <executions>
  68. <execution>
  69. <phase>package</phase>
  70. <goals>
  71. <goal>single</goal>
  72. </goals>
  73. <configuration>
  74. <finalName>${project.artifactId}-${project.version}</finalName>
  75. <appendAssemblyId>false</appendAssemblyId>
  76. <descriptors>
  77. <descriptor>src/main/assembly/zip.xml</descriptor>
  78. </descriptors>
  79. </configuration>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-api</artifactId>
  89. <version>${slf4j.version}</version>
  90. </dependency>
  91. <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
  92. <dependency>
  93. <groupId>org.slf4j</groupId>
  94. <artifactId>jul-to-slf4j</artifactId>
  95. <version>${slf4j.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.logging.log4j</groupId>
  99. <artifactId>log4j-slf4j-impl</artifactId>
  100. <version>${log4j.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.logging.log4j</groupId>
  104. <artifactId>log4j-core</artifactId>
  105. <version>${log4j.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.mdkt.compiler</groupId>
  109. <artifactId>InMemoryJavaCompiler</artifactId>
  110. <version>${InMemoryJavaCompiler.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.google.code.gson</groupId>
  114. <artifactId>gson</artifactId>
  115. <version>${gson.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.aeonbits.owner</groupId>
  119. <artifactId>owner-java8</artifactId>
  120. <version>${owner.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>net.dv8tion</groupId>
  124. <artifactId>JDA</artifactId>
  125. <version>${jda.version}</version>
  126. </dependency>
  127. <!-- L2J -->
  128. <dependency>
  129. <groupId>org.bitbucket.l2jserver</groupId>
  130. <artifactId>l2j-server-commons</artifactId>
  131. <version>${l2j-server-commons.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.bitbucket.l2jserver</groupId>
  135. <artifactId>l2j-server-geo-driver</artifactId>
  136. <version>${l2j-server-geo-driver.version}</version>
  137. </dependency>
  138. <!-- Test -->
  139. <dependency>
  140. <groupId>org.junit.jupiter</groupId>
  141. <artifactId>junit-jupiter-engine</artifactId>
  142. <version>${junit-jupiter.version}</version>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.junit.jupiter</groupId>
  147. <artifactId>junit-jupiter-params</artifactId>
  148. <version>${junit-jupiter.version}</version>
  149. <scope>test</scope>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.mockito</groupId>
  153. <artifactId>mockito-core</artifactId>
  154. <version>${mockito.version}</version>
  155. <scope>test</scope>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.mockito</groupId>
  159. <artifactId>mockito-junit-jupiter</artifactId>
  160. <version>${mockito.version}</version>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.mockito</groupId>
  165. <artifactId>mockito-inline</artifactId>
  166. <version>${mockito.version}</version>
  167. <scope>test</scope>
  168. </dependency>
  169. </dependencies>
  170. </project>