pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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. <!-- 定时任务-->
  89. <dependency>
  90. <groupId>com.fs</groupId>
  91. <artifactId>fs-quartz</artifactId>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>org.apache.tomcat</groupId>
  95. <artifactId>annotations-api</artifactId>
  96. </exclusion>
  97. </exclusions>
  98. </dependency>
  99. <!-- lombok -->
  100. <dependency>
  101. <groupId>org.projectlombok</groupId>
  102. <artifactId>lombok</artifactId>
  103. <version>1.18.32</version>
  104. </dependency>
  105. <!-- 代码生成-->
  106. <dependency>
  107. <groupId>com.fs</groupId>
  108. <artifactId>fs-generator</artifactId>
  109. <exclusions>
  110. <exclusion>
  111. <groupId>org.apache.tomcat</groupId>
  112. <artifactId>annotations-api</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <!-- swagger2-->
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger2</artifactId>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.clickhouse</groupId>
  123. <artifactId>clickhouse-jdbc</artifactId>
  124. <version>0.4.6</version>
  125. <exclusions>
  126. <exclusion>
  127. <groupId>org.apache.tomcat</groupId>
  128. <artifactId>annotations-api</artifactId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <!-- swagger2-UI-->
  133. <dependency>
  134. <groupId>io.springfox</groupId>
  135. <artifactId>springfox-swagger-ui</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.github.xiaoymin</groupId>
  139. <artifactId>swagger-bootstrap-ui</artifactId>
  140. <version>1.9.3</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.tencentcloudapi</groupId>
  144. <artifactId>tencentcloud-sdk-java</artifactId>
  145. <version>3.1.322</version>
  146. <scope>compile</scope>
  147. <exclusions>
  148. <exclusion>
  149. <groupId>com.squareup.okio</groupId>
  150. <artifactId>okio</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>com.squareup.okhttp</groupId>
  154. <artifactId>okhttp</artifactId>
  155. </exclusion>
  156. <exclusion>
  157. <groupId>org.apache.tomcat</groupId>
  158. <artifactId>annotations-api</artifactId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.squareup.okio</groupId>
  164. <artifactId>okio</artifactId>
  165. <version>2.10.0</version>
  166. </dependency>
  167. <!-- https://mvnrepository.com/artifact/com.qcloud/qcloud-java-sdk -->
  168. <dependency>
  169. <groupId>com.qcloud</groupId>
  170. <artifactId>qcloud-java-sdk</artifactId>
  171. <version>2.0.1</version>
  172. <exclusions>
  173. <exclusion>
  174. <groupId>org.apache.tomcat</groupId>
  175. <artifactId>annotations-api</artifactId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-test</artifactId>
  182. </dependency>
  183. </dependencies>
  184. <build>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-compiler-plugin</artifactId>
  189. <version>3.11.0</version>
  190. <configuration>
  191. <source>${java.version}</source>
  192. <target>${java.version}</target>
  193. <encoding>${project.build.sourceEncoding}</encoding>
  194. <annotationProcessorPaths>
  195. <path>
  196. <groupId>org.projectlombok</groupId>
  197. <artifactId>lombok</artifactId>
  198. <version>${lombok.version}</version>
  199. </path>
  200. <path>
  201. <groupId>org.mapstruct</groupId>
  202. <artifactId>mapstruct-processor</artifactId>
  203. <version>${org.mapstruct.version}</version>
  204. </path>
  205. <path>
  206. <groupId>org.projectlombok</groupId>
  207. <artifactId>lombok-mapstruct-binding</artifactId>
  208. <version>0.2.0</version>
  209. </path>
  210. </annotationProcessorPaths>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <groupId>org.springframework.boot</groupId>
  215. <artifactId>spring-boot-maven-plugin</artifactId>
  216. <version>2.7.18</version>
  217. <configuration>
  218. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  219. <excludes>
  220. <exclude>
  221. <groupId>org.apache.tomcat</groupId>
  222. <artifactId>annotations-api</artifactId>
  223. </exclude>
  224. </excludes>
  225. </configuration>
  226. <executions>
  227. <execution>
  228. <goals>
  229. <goal>repackage</goal>
  230. </goals>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-war-plugin</artifactId>
  237. <version>3.1.0</version>
  238. <configuration>
  239. <failOnMissingWebXml>false</failOnMissingWebXml>
  240. <warName>${project.artifactId}</warName>
  241. </configuration>
  242. </plugin>
  243. </plugins>
  244. <finalName>${project.artifactId}</finalName>
  245. </build>
  246. </project>