pom.xml 4.5 KB

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