pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.giantan.mds</groupId>
  8. <artifactId>mds</artifactId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <version>1.2.0</version>
  12. <artifactId>mdserver</artifactId>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <spring.boot.version>3.5.0</spring.boot.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-cache</artifactId>
  23. <version>${spring.boot.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <version>${spring.boot.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-jdbc</artifactId>
  33. <version>${spring.boot.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.postgresql</groupId>
  37. <artifactId>postgresql</artifactId>
  38. <!-- <scope>runtime</scope>-->
  39. <version>42.7.5</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.age</groupId>
  43. <artifactId>jdbc</artifactId>
  44. <version>1.0.0</version>
  45. <!-- <scope>system</scope>-->
  46. <!-- <systemPath>${project.basedir}/lib/agelib.jar</systemPath>-->
  47. </dependency>
  48. <dependency>
  49. <groupId>org.projectlombok</groupId>
  50. <artifactId>lombok</artifactId>
  51. <version>1.18.38</version>
  52. <!-- <optional>true</optional>-->
  53. <scope>provided</scope>
  54. </dependency>
  55. <!-- https://mvnrepository.com/artifact/io.swagger/swagger-annotations -->
  56. <dependency>
  57. <groupId>io.swagger</groupId>
  58. <artifactId>swagger-annotations</artifactId>
  59. <version>1.6.9</version>
  60. </dependency>
  61. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  62. <dependency>
  63. <groupId>com.google.guava</groupId>
  64. <artifactId>guava</artifactId>
  65. <!-- <version>33.4.8-jre</version>-->
  66. <version>32.1.3-jre</version>
  67. </dependency>
  68. <!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
  69. <dependency>
  70. <groupId>com.github.ben-manes.caffeine</groupId>
  71. <artifactId>caffeine</artifactId>
  72. <version>3.1.8</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.cnnlp.data.md</groupId>
  76. <artifactId>gtbook</artifactId>
  77. <version>1.0.0</version>
  78. <!-- <scope>compile</scope>-->
  79. <!-- <exclusions>-->
  80. <!-- <exclusion>-->
  81. <!-- <groupId>org.slf4j</groupId>-->
  82. <!-- <artifactId>slf4j-simple</artifactId>-->
  83. <!-- </exclusion>-->
  84. <!-- </exclusions>-->
  85. </dependency>
  86. <dependency>
  87. <groupId>com.giantan.gfs</groupId>
  88. <artifactId>gfs</artifactId>
  89. <version>1.0.0</version>
  90. <!-- <scope>compile</scope>-->
  91. <!-- <exclusions>-->
  92. <!-- <exclusion>-->
  93. <!-- <groupId>org.slf4j</groupId>-->
  94. <!-- <artifactId>slf4j-simple</artifactId>-->
  95. <!-- </exclusion>-->
  96. <!-- </exclusions>-->
  97. </dependency>
  98. <dependency>
  99. <groupId>com.giantan.mds</groupId>
  100. <artifactId>tools</artifactId>
  101. <version>1.0.0</version>
  102. </dependency>
  103. <!-- <dependency>-->
  104. <!-- <groupId>com.giantan.ai.domain</groupId>-->
  105. <!-- <artifactId>kvs</artifactId>-->
  106. <!-- <version>1.0.0</version>-->
  107. <!-- &lt;!&ndash; <scope>compile</scope>&ndash;&gt;-->
  108. <!-- </dependency>-->
  109. <dependency>
  110. <groupId>com.giantan</groupId>
  111. <artifactId>oe</artifactId>
  112. <version>8.11.3.20</version>
  113. <!-- <version>8.1.210123</version>-->
  114. <!-- <scope>system</scope>-->
  115. <!-- <systemPath>${project.basedir}/lib/oe.jar</systemPath>-->
  116. </dependency>
  117. <dependency>
  118. <groupId>net.sf.trove4j</groupId>
  119. <artifactId>trove4j</artifactId>
  120. <version>2.1.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.caucho</groupId>
  124. <artifactId>hessian</artifactId>
  125. <version>4.0.63</version>
  126. </dependency>
  127. <!-- https://search.maven.org/artifact/com.github.f4b6a3/ulid-creator -->
  128. <dependency>
  129. <groupId>com.github.f4b6a3</groupId>
  130. <artifactId>ulid-creator</artifactId>
  131. <version>5.2.3</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-test</artifactId>
  136. <version>${spring.boot.version}</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <!-- <dependency>-->
  140. <!-- <groupId>com.giantan.mds</groupId>-->
  141. <!-- <artifactId>gtbook</artifactId>-->
  142. <!-- <version>1.0.0</version>-->
  143. <!-- <scope>compile</scope>-->
  144. <!-- </dependency>-->
  145. </dependencies>
  146. <build>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-compiler-plugin</artifactId>
  151. <configuration>
  152. <compilerArgs>
  153. <arg>-parameters</arg> <!-- ✅ 开启参数名保留 -->
  154. </compilerArgs>
  155. <annotationProcessorPaths>
  156. <path>
  157. <groupId>org.projectlombok</groupId>
  158. <artifactId>lombok</artifactId>
  159. <version>1.18.38</version>
  160. </path>
  161. </annotationProcessorPaths>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. <configuration>
  168. <excludes>
  169. <exclude>
  170. <groupId>org.projectlombok</groupId>
  171. <artifactId>lombok</artifactId>
  172. <!-- <version>1.18.38</version>-->
  173. </exclude>
  174. </excludes>
  175. </configuration>
  176. <executions>
  177. <execution>
  178. <goals>
  179. <goal>repackage</goal> <!-- 关键 -->
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>