pom.xml 9.8 KB

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