2
0

pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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-game</artifactId>
  6. <version>2.6.2.0</version>
  7. <name>L2J Game Server</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. <log4j.version>2.13.3</log4j.version>
  15. <InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
  16. <gson.version>2.8.6</gson.version>
  17. <owner.version>1.0.12</owner.version>
  18. <jda.version>4.2.1_261</jda.version>
  19. <l2j-server-commons.version>2.6.4.0</l2j-server-commons.version>
  20. <l2j-server-geo-driver.version>2.6.3.0</l2j-server-geo-driver.version>
  21. <!-- Test -->
  22. <testng.version>7.3.0</testng.version>
  23. <easymock.version>4.2</easymock.version>
  24. <powermock.version>2.0.7</powermock.version>
  25. <!-- Plugins -->
  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-jar-plugin</artifactId>
  46. <version>${maven-jar-plugin.version}</version>
  47. <configuration>
  48. <finalName>l2jserver</finalName>
  49. <archive>
  50. <manifest>
  51. <addClasspath>true</addClasspath>
  52. <classpathPrefix>libs/</classpathPrefix>
  53. <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
  54. </manifest>
  55. </archive>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-assembly-plugin</artifactId>
  61. <version>${maven-assembly-plugin.version}</version><!-- $NO-MVN-MAN-VER$ -->
  62. <executions>
  63. <execution>
  64. <phase>package</phase>
  65. <goals>
  66. <goal>single</goal>
  67. </goals>
  68. <configuration>
  69. <finalName>${project.artifactId}-${project.version}</finalName>
  70. <appendAssemblyId>false</appendAssemblyId>
  71. <descriptors>
  72. <descriptor>src/main/assembly/zip.xml</descriptor>
  73. </descriptors>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. </plugins>
  79. </build>
  80. <dependencies>
  81. <dependency>
  82. <groupId>org.slf4j</groupId>
  83. <artifactId>slf4j-api</artifactId>
  84. <version>${slf4j.version}</version>
  85. </dependency>
  86. <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
  87. <dependency>
  88. <groupId>org.slf4j</groupId>
  89. <artifactId>jul-to-slf4j</artifactId>
  90. <version>${slf4j.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.logging.log4j</groupId>
  94. <artifactId>log4j-slf4j-impl</artifactId>
  95. <version>${log4j.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.logging.log4j</groupId>
  99. <artifactId>log4j-core</artifactId>
  100. <version>${log4j.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.mdkt.compiler</groupId>
  104. <artifactId>InMemoryJavaCompiler</artifactId>
  105. <version>${InMemoryJavaCompiler.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.google.code.gson</groupId>
  109. <artifactId>gson</artifactId>
  110. <version>${gson.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.aeonbits.owner</groupId>
  114. <artifactId>owner-java8</artifactId>
  115. <version>${owner.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>net.dv8tion</groupId>
  119. <artifactId>JDA</artifactId>
  120. <version>${jda.version}</version>
  121. </dependency>
  122. <!-- L2J -->
  123. <dependency>
  124. <groupId>org.bitbucket.l2jserver</groupId>
  125. <artifactId>l2j-server-commons</artifactId>
  126. <version>${l2j-server-commons.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.bitbucket.l2jserver</groupId>
  130. <artifactId>l2j-server-geo-driver</artifactId>
  131. <version>${l2j-server-geo-driver.version}</version>
  132. </dependency>
  133. <!-- Test -->
  134. <dependency>
  135. <groupId>org.testng</groupId>
  136. <artifactId>testng</artifactId>
  137. <version>${testng.version}</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.easymock</groupId>
  142. <artifactId>easymock</artifactId>
  143. <version>${easymock.version}</version>
  144. <scope>test</scope>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.powermock</groupId>
  148. <artifactId>powermock-core</artifactId>
  149. <version>${powermock.version}</version>
  150. <scope>test</scope>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.powermock</groupId>
  154. <artifactId>powermock-api-easymock</artifactId>
  155. <version>${powermock.version}</version>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.powermock</groupId>
  160. <artifactId>powermock-module-testng</artifactId>
  161. <version>${powermock.version}</version>
  162. <scope>test</scope>
  163. </dependency>
  164. </dependencies>
  165. </project>