pom.xml 5.3 KB

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