pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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-cli</artifactId>
  6. <version>1.2.0</version>
  7. <name>L2J Server Command Line</name>
  8. <properties>
  9. <maven.compiler.source>21</maven.compiler.source>
  10. <maven.compiler.target>21</maven.compiler.target>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <!-- Dependencies -->
  14. <picocli.version>4.7.5</picocli.version>
  15. <jgit.version>6.7.0.202309050840-r</jgit.version>
  16. <slf4j.version>2.0.9</slf4j.version>
  17. <log4j.version>2.22.0</log4j.version>
  18. <mysql-connector-j.version>8.2.0</mysql-connector-j.version>
  19. <mariadb-java-client.version>3.3.1</mariadb-java-client.version>
  20. <mssql-jdbc.version>12.4.2.jre11</mssql-jdbc.version>
  21. <postgresql.version>42.7.0</postgresql.version>
  22. <hsqldb.version>2.7.2</hsqldb.version>
  23. <h2.version>1.4.200</h2.version>
  24. <derbyclient.version>10.17.1.0</derbyclient.version>
  25. <asciitable.version>0.3.2</asciitable.version>
  26. <owner.version>1.0.12</owner.version>
  27. <maven-invoker.version>3.2.0</maven-invoker.version>
  28. <!-- L2J -->
  29. <l2j-server-commons.version>2.6.7.0</l2j-server-commons.version>
  30. <!-- Plugins -->
  31. <maven-dependency-plugin.version>3.6.1</maven-dependency-plugin.version>
  32. <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  33. <maven-assembly-plugin.version>3.6.0</maven-assembly-plugin.version>
  34. </properties>
  35. <repositories>
  36. <repository>
  37. <id>jitpack.io</id>
  38. <url>https://jitpack.io</url>
  39. </repository>
  40. </repositories>
  41. <dependencies>
  42. <dependency>
  43. <groupId>info.picocli</groupId>
  44. <artifactId>picocli</artifactId>
  45. <version>${picocli.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.eclipse.jgit</groupId>
  49. <artifactId>org.eclipse.jgit</artifactId>
  50. <version>${jgit.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>slf4j-api</artifactId>
  55. <version>${slf4j.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.logging.log4j</groupId>
  59. <artifactId>log4j-slf4j-impl</artifactId>
  60. <version>${log4j.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.logging.log4j</groupId>
  64. <artifactId>log4j-core</artifactId>
  65. <version>${log4j.version}</version>
  66. </dependency>
  67. <!-- Database -->
  68. <dependency>
  69. <groupId>com.mysql</groupId>
  70. <artifactId>mysql-connector-j</artifactId>
  71. <version>${mysql-connector-j.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.mariadb.jdbc</groupId>
  75. <artifactId>mariadb-java-client</artifactId>
  76. <version>${mariadb-java-client.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.microsoft.sqlserver</groupId>
  80. <artifactId>mssql-jdbc</artifactId>
  81. <version>${mssql-jdbc.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.postgresql</groupId>
  85. <artifactId>postgresql</artifactId>
  86. <version>${postgresql.version}</version>
  87. </dependency>
  88. <!-- In-Memory Database -->
  89. <dependency>
  90. <groupId>org.hsqldb</groupId>
  91. <artifactId>hsqldb</artifactId>
  92. <version>${hsqldb.version}</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.h2database</groupId>
  96. <artifactId>h2</artifactId>
  97. <version>${h2.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.derby</groupId>
  101. <artifactId>derbyclient</artifactId>
  102. <version>${derbyclient.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>de.vandermeer</groupId>
  106. <artifactId>asciitable</artifactId>
  107. <version>${asciitable.version}</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.aeonbits.owner</groupId>
  111. <artifactId>owner-java8</artifactId>
  112. <version>${owner.version}</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.maven.shared</groupId>
  116. <artifactId>maven-invoker</artifactId>
  117. <version>${maven-invoker.version}</version>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-jar-plugin</artifactId>
  125. <version>${maven-jar-plugin.version}</version>
  126. <configuration>
  127. <finalName>l2jcli</finalName>
  128. <archive>
  129. <manifest>
  130. <addClasspath>true</addClasspath>
  131. <classpathPrefix>libs/</classpathPrefix>
  132. <mainClass>com.l2jserver.cli.L2JServerCLI</mainClass>
  133. </manifest>
  134. </archive>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-assembly-plugin</artifactId>
  140. <version>${maven-assembly-plugin.version}</version> <!--$NO-MVN-MAN-VER$-->
  141. <executions>
  142. <execution>
  143. <phase>package</phase>
  144. <goals>
  145. <goal>single</goal>
  146. </goals>
  147. <configuration>
  148. <finalName>l2jcli-${project.version}</finalName>
  149. <appendAssemblyId>false</appendAssemblyId>
  150. <descriptors>
  151. <descriptor>src/main/assembly/zip.xml</descriptor>
  152. </descriptors>
  153. </configuration>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. </plugins>
  158. </build>
  159. </project>