pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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. <!-- fs-saasadmin(原fs-admin-saas) 提供管理端业务Controller(@Profile("admin")控制加载) -->
  117. <dependency>
  118. <groupId>com.fs</groupId>
  119. <artifactId>fs-saasadmin</artifactId>
  120. <version>${project.version}</version>
  121. </dependency>
  122. <!-- swagger2-->
  123. <dependency>
  124. <groupId>io.springfox</groupId>
  125. <artifactId>springfox-swagger2</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.clickhouse</groupId>
  129. <artifactId>clickhouse-jdbc</artifactId>
  130. <version>0.4.6</version>
  131. <exclusions>
  132. <exclusion>
  133. <groupId>org.apache.tomcat</groupId>
  134. <artifactId>annotations-api</artifactId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <!-- swagger2-UI-->
  139. <dependency>
  140. <groupId>io.springfox</groupId>
  141. <artifactId>springfox-swagger-ui</artifactId>
  142. </dependency>
  143. <dependency>
  144. <groupId>com.github.xiaoymin</groupId>
  145. <artifactId>swagger-bootstrap-ui</artifactId>
  146. <version>1.9.3</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.tencentcloudapi</groupId>
  150. <artifactId>tencentcloud-sdk-java</artifactId>
  151. <version>3.1.322</version>
  152. <scope>compile</scope>
  153. <exclusions>
  154. <exclusion>
  155. <groupId>com.squareup.okio</groupId>
  156. <artifactId>okio</artifactId>
  157. </exclusion>
  158. <exclusion>
  159. <groupId>com.squareup.okhttp</groupId>
  160. <artifactId>okhttp</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>org.apache.tomcat</groupId>
  164. <artifactId>annotations-api</artifactId>
  165. </exclusion>
  166. </exclusions>
  167. </dependency>
  168. <dependency>
  169. <groupId>com.squareup.okio</groupId>
  170. <artifactId>okio</artifactId>
  171. <version>2.10.0</version>
  172. </dependency>
  173. <!-- https://mvnrepository.com/artifact/com.qcloud/qcloud-java-sdk -->
  174. <dependency>
  175. <groupId>com.qcloud</groupId>
  176. <artifactId>qcloud-java-sdk</artifactId>
  177. <version>2.0.1</version>
  178. <exclusions>
  179. <exclusion>
  180. <groupId>org.apache.tomcat</groupId>
  181. <artifactId>annotations-api</artifactId>
  182. </exclusion>
  183. </exclusions>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.springframework.boot</groupId>
  187. <artifactId>spring-boot-starter-test</artifactId>
  188. </dependency>
  189. </dependencies>
  190. <build>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-compiler-plugin</artifactId>
  195. <version>3.11.0</version>
  196. <configuration>
  197. <source>${java.version}</source>
  198. <target>${java.version}</target>
  199. <encoding>${project.build.sourceEncoding}</encoding>
  200. <annotationProcessorPaths>
  201. <path>
  202. <groupId>org.projectlombok</groupId>
  203. <artifactId>lombok</artifactId>
  204. <version>${lombok.version}</version>
  205. </path>
  206. <path>
  207. <groupId>org.mapstruct</groupId>
  208. <artifactId>mapstruct-processor</artifactId>
  209. <version>${org.mapstruct.version}</version>
  210. </path>
  211. <path>
  212. <groupId>org.projectlombok</groupId>
  213. <artifactId>lombok-mapstruct-binding</artifactId>
  214. <version>0.2.0</version>
  215. </path>
  216. </annotationProcessorPaths>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.springframework.boot</groupId>
  221. <artifactId>spring-boot-maven-plugin</artifactId>
  222. <version>2.7.18</version>
  223. <configuration>
  224. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  225. <excludes>
  226. <exclude>
  227. <groupId>org.apache.tomcat</groupId>
  228. <artifactId>annotations-api</artifactId>
  229. </exclude>
  230. </excludes>
  231. </configuration>
  232. <executions>
  233. <execution>
  234. <goals>
  235. <goal>repackage</goal>
  236. </goals>
  237. </execution>
  238. </executions>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-war-plugin</artifactId>
  243. <version>3.1.0</version>
  244. <configuration>
  245. <failOnMissingWebXml>false</failOnMissingWebXml>
  246. <warName>${project.artifactId}</warName>
  247. </configuration>
  248. </plugin>
  249. </plugins>
  250. <finalName>${project.artifactId}</finalName>
  251. </build>
  252. </project>