pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. <parent>
  6. <artifactId>fs</artifactId>
  7. <groupId>com.fs</groupId>
  8. <version>1.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>fs-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- Spring 5.3 @Resource.lookup() 需要 javax.annotation-api 1.3+,勿用 tomcat 6.0.53 旧包 -->
  18. <dependency>
  19. <groupId>javax.annotation</groupId>
  20. <artifactId>javax.annotation-api</artifactId>
  21. </dependency>
  22. <!-- 验证码 -->
  23. <dependency>
  24. <groupId>com.github.penggle</groupId>
  25. <artifactId>kaptcha</artifactId>
  26. <exclusions>
  27. <exclusion>
  28. <artifactId>javax.servlet-api</artifactId>
  29. <groupId>javax.servlet</groupId>
  30. </exclusion>
  31. <exclusion>
  32. <groupId>org.apache.tomcat</groupId>
  33. <artifactId>annotations-api</artifactId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.github.javen205</groupId>
  39. <artifactId>IJPay-All</artifactId>
  40. <exclusions>
  41. <exclusion>
  42. <groupId>org.apache.tomcat</groupId>
  43. <artifactId>annotations-api</artifactId>
  44. </exclusion>
  45. </exclusions>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alipay.sdk</groupId>
  49. <artifactId>alipay-sdk-java</artifactId>
  50. <version>4.8.62.ALL</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>org.apache.tomcat</groupId>
  54. <artifactId>annotations-api</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <!-- spring-boot-devtools -->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <optional>true</optional> <!-- 表示依赖不会传递 -->
  63. </dependency>
  64. <!-- Mysql驱动包 -->
  65. <dependency>
  66. <groupId>mysql</groupId>
  67. <artifactId>mysql-connector-java</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-cache</artifactId>
  72. </dependency>
  73. <!-- 核心模块-->
  74. <dependency>
  75. <groupId>com.fs</groupId>
  76. <artifactId>fs-framework</artifactId>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>javax.annotation</groupId>
  80. <artifactId>annotations-api</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>org.apache.tomcat</groupId>
  84. <artifactId>annotations-api</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <!-- lombok -->
  89. <dependency>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. <version>1.18.32</version>
  93. </dependency>
  94. <!-- 代码生成-->
  95. <dependency>
  96. <groupId>com.fs</groupId>
  97. <artifactId>fs-generator</artifactId>
  98. <exclusions>
  99. <exclusion>
  100. <groupId>org.apache.tomcat</groupId>
  101. <artifactId>annotations-api</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <!-- swagger2-->
  106. <dependency>
  107. <groupId>io.springfox</groupId>
  108. <artifactId>springfox-swagger2</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.clickhouse</groupId>
  112. <artifactId>clickhouse-jdbc</artifactId>
  113. <version>0.4.6</version>
  114. <exclusions>
  115. <exclusion>
  116. <groupId>org.apache.tomcat</groupId>
  117. <artifactId>annotations-api</artifactId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <!-- swagger2-UI-->
  122. <dependency>
  123. <groupId>io.springfox</groupId>
  124. <artifactId>springfox-swagger-ui</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.github.xiaoymin</groupId>
  128. <artifactId>swagger-bootstrap-ui</artifactId>
  129. <version>1.9.3</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.tencentcloudapi</groupId>
  133. <artifactId>tencentcloud-sdk-java</artifactId>
  134. <version>3.1.322</version>
  135. <scope>compile</scope>
  136. <exclusions>
  137. <exclusion>
  138. <groupId>com.squareup.okio</groupId>
  139. <artifactId>okio</artifactId>
  140. </exclusion>
  141. <exclusion>
  142. <groupId>com.squareup.okhttp</groupId>
  143. <artifactId>okhttp</artifactId>
  144. </exclusion>
  145. <exclusion>
  146. <groupId>org.apache.tomcat</groupId>
  147. <artifactId>annotations-api</artifactId>
  148. </exclusion>
  149. </exclusions>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.squareup.okio</groupId>
  153. <artifactId>okio</artifactId>
  154. <version>2.10.0</version>
  155. </dependency>
  156. <!-- https://mvnrepository.com/artifact/com.qcloud/qcloud-java-sdk -->
  157. <dependency>
  158. <groupId>com.qcloud</groupId>
  159. <artifactId>qcloud-java-sdk</artifactId>
  160. <version>2.0.1</version>
  161. <exclusions>
  162. <exclusion>
  163. <groupId>org.apache.tomcat</groupId>
  164. <artifactId>annotations-api</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-starter-test</artifactId>
  171. </dependency>
  172. </dependencies>
  173. <build>
  174. <plugins>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-compiler-plugin</artifactId>
  178. <version>3.11.0</version>
  179. <configuration>
  180. <source>${java.version}</source>
  181. <target>${java.version}</target>
  182. <encoding>${project.build.sourceEncoding}</encoding>
  183. <annotationProcessorPaths>
  184. <path>
  185. <groupId>org.projectlombok</groupId>
  186. <artifactId>lombok</artifactId>
  187. <version>${lombok.version}</version>
  188. </path>
  189. <path>
  190. <groupId>org.mapstruct</groupId>
  191. <artifactId>mapstruct-processor</artifactId>
  192. <version>${org.mapstruct.version}</version>
  193. </path>
  194. <path>
  195. <groupId>org.projectlombok</groupId>
  196. <artifactId>lombok-mapstruct-binding</artifactId>
  197. <version>0.2.0</version>
  198. </path>
  199. </annotationProcessorPaths>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-maven-plugin</artifactId>
  205. <version>2.7.18</version>
  206. <configuration>
  207. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  208. <excludes>
  209. <exclude>
  210. <groupId>org.apache.tomcat</groupId>
  211. <artifactId>annotations-api</artifactId>
  212. </exclude>
  213. </excludes>
  214. </configuration>
  215. <executions>
  216. <execution>
  217. <goals>
  218. <goal>repackage</goal>
  219. </goals>
  220. </execution>
  221. </executions>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-war-plugin</artifactId>
  226. <version>3.1.0</version>
  227. <configuration>
  228. <failOnMissingWebXml>false</failOnMissingWebXml>
  229. <warName>${project.artifactId}</warName>
  230. </configuration>
  231. </plugin>
  232. </plugins>
  233. <finalName>${project.artifactId}</finalName>
  234. </build>
  235. </project>