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