2
0

pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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>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.30</slf4j.version>
  14. <log4j.version>2.13.2</log4j.version>
  15. <InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
  16. <gson.version>2.8.6</gson.version>
  17. <weupnp.version>0.1.4</weupnp.version>
  18. <owner.version>1.0.11</owner.version>
  19. <l2j-server-mmocore.version>2.6.1.0</l2j-server-mmocore.version>
  20. <l2j-server-commons.version>2.6.2.1</l2j-server-commons.version>
  21. <l2j-server-geo-driver.version>2.6.1.0</l2j-server-geo-driver.version>
  22. <!-- Test -->
  23. <testng.version>7.1.0</testng.version>
  24. <mockito-core.version>3.3.3</mockito-core.version>
  25. <!-- Plugins -->
  26. <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
  27. <maven-assembly-plugin.version>3.2.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. </repositories>
  35. <build>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-jar-plugin</artifactId>
  40. <version>${maven-jar-plugin.version}</version>
  41. <configuration>
  42. <finalName>l2jserver</finalName>
  43. <archive>
  44. <manifest>
  45. <addClasspath>true</addClasspath>
  46. <classpathPrefix>libs/</classpathPrefix>
  47. <mainClass>com.l2jserver.gameserver.GameServer</mainClass>
  48. </manifest>
  49. </archive>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-assembly-plugin</artifactId>
  55. <version>${maven-assembly-plugin.version}</version><!-- $NO-MVN-MAN-VER$ -->
  56. <executions>
  57. <execution>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>single</goal>
  61. </goals>
  62. <configuration>
  63. <finalName>${project.artifactId}-${project.version}</finalName>
  64. <appendAssemblyId>false</appendAssemblyId>
  65. <descriptors>
  66. <descriptor>src/main/assembly/zip.xml</descriptor>
  67. </descriptors>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. <dependencies>
  75. <dependency>
  76. <groupId>org.slf4j</groupId>
  77. <artifactId>slf4j-api</artifactId>
  78. <version>${slf4j.version}</version>
  79. </dependency>
  80. <!-- TODO(Zoey76): Remove when loggers rework is completed. -->
  81. <dependency>
  82. <groupId>org.slf4j</groupId>
  83. <artifactId>jul-to-slf4j</artifactId>
  84. <version>${slf4j.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.apache.logging.log4j</groupId>
  88. <artifactId>log4j-slf4j-impl</artifactId>
  89. <version>${log4j.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.logging.log4j</groupId>
  93. <artifactId>log4j-core</artifactId>
  94. <version>${log4j.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mdkt.compiler</groupId>
  98. <artifactId>InMemoryJavaCompiler</artifactId>
  99. <version>${InMemoryJavaCompiler.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.google.code.gson</groupId>
  103. <artifactId>gson</artifactId>
  104. <version>${gson.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.bitlet</groupId>
  108. <artifactId>weupnp</artifactId>
  109. <version>${weupnp.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>org.springframework</groupId>
  118. <artifactId>spring-context</artifactId>
  119. <version>5.2.6.RELEASE</version>
  120. </dependency>
  121. <!-- L2J -->
  122. <dependency>
  123. <groupId>org.bitbucket.l2jserver</groupId>
  124. <artifactId>l2j-server-mmocore</artifactId>
  125. <version>${l2j-server-mmocore.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.bitbucket.l2jserver</groupId>
  129. <artifactId>l2j-server-commons</artifactId>
  130. <version>${l2j-server-commons.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.bitbucket.l2jserver</groupId>
  134. <artifactId>l2j-server-geo-driver</artifactId>
  135. <version>${l2j-server-geo-driver.version}</version>
  136. </dependency>
  137. <!-- Test -->
  138. <dependency>
  139. <groupId>org.testng</groupId>
  140. <artifactId>testng</artifactId>
  141. <version>${testng.version}</version>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.mockito</groupId>
  146. <artifactId>mockito-core</artifactId>
  147. <version>${mockito-core.version}</version>
  148. <scope>test</scope>
  149. </dependency>
  150. </dependencies>
  151. </project>