pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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-SNAPSHOT</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.0_220</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. <mockito-core.version>3.5.2</mockito-core.version>
  24. <!-- Plugins -->
  25. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  26. <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
  27. </properties>
  28. <repositories>
  29. <repository>
  30. <id>jitpack.io</id>
  31. <url>https://jitpack.io</url>
  32. </repository>
  33. <!-- Jcenter for JDA -->
  34. <repository>
  35. <id>jcenter</id>
  36. <name>jcenter-bintray</name>
  37. <url>https://jcenter.bintray.com</url>
  38. </repository>
  39. </repositories>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-jar-plugin</artifactId>
  45. <version>${maven-jar-plugin.version}</version>
  46. <configuration>
  47. <finalName>l2jserver</finalName>
  48. <archive>
  49. <manifest>
  50. <addClasspath>true</addClasspath>
  51. <classpathPrefix>libs/</classpathPrefix>
  52. <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
  53. </manifest>
  54. </archive>
  55. </configuration>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-assembly-plugin</artifactId>
  60. <version>${maven-assembly-plugin.version}</version><!-- $NO-MVN-MAN-VER$ -->
  61. <executions>
  62. <execution>
  63. <phase>package</phase>
  64. <goals>
  65. <goal>single</goal>
  66. </goals>
  67. <configuration>
  68. <finalName>${project.artifactId}-${project.version}</finalName>
  69. <appendAssemblyId>false</appendAssemblyId>
  70. <descriptors>
  71. <descriptor>src/main/assembly/zip.xml</descriptor>
  72. </descriptors>
  73. </configuration>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. <dependencies>
  80. <dependency>
  81. <groupId>org.slf4j</groupId>
  82. <artifactId>slf4j-api</artifactId>
  83. <version>${slf4j.version}</version>
  84. </dependency>
  85. <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
  86. <dependency>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>jul-to-slf4j</artifactId>
  89. <version>${slf4j.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.logging.log4j</groupId>
  93. <artifactId>log4j-slf4j-impl</artifactId>
  94. <version>${log4j.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.logging.log4j</groupId>
  98. <artifactId>log4j-core</artifactId>
  99. <version>${log4j.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.mdkt.compiler</groupId>
  103. <artifactId>InMemoryJavaCompiler</artifactId>
  104. <version>${InMemoryJavaCompiler.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.google.code.gson</groupId>
  108. <artifactId>gson</artifactId>
  109. <version>${gson.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.aeonbits.owner</groupId>
  113. <artifactId>owner-java8</artifactId>
  114. <version>${owner.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>net.dv8tion</groupId>
  118. <artifactId>JDA</artifactId>
  119. <version>${jda.version}</version>
  120. </dependency>
  121. <!-- L2J -->
  122. <dependency>
  123. <groupId>org.bitbucket.l2jserver</groupId>
  124. <artifactId>l2j-server-commons</artifactId>
  125. <version>${l2j-server-commons.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.bitbucket.l2jserver</groupId>
  129. <artifactId>l2j-server-geo-driver</artifactId>
  130. <version>${l2j-server-geo-driver.version}</version>
  131. </dependency>
  132. <!-- Test -->
  133. <dependency>
  134. <groupId>org.testng</groupId>
  135. <artifactId>testng</artifactId>
  136. <version>${testng.version}</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.mockito</groupId>
  141. <artifactId>mockito-core</artifactId>
  142. <version>${mockito-core.version}</version>
  143. <scope>test</scope>
  144. </dependency>
  145. </dependencies>
  146. </project>