pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  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. <groupId>org.springblade</groupId>
  7. <artifactId>BladeX-Boot</artifactId>
  8. <packaging>jar</packaging>
  9. <version>2.9.0.RELEASE</version>
  10. <properties>
  11. <bladex.project.id>blade-api</bladex.project.id>
  12. <bladex.project.version>2.9.0.RELEASE</bladex.project.version>
  13. <java.version>1.8</java.version>
  14. <maven.plugin.version>3.8.1</maven.plugin.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <flowable.version>6.4.2</flowable.version>
  17. <spring.boot.version>2.3.12.RELEASE</spring.boot.version>
  18. <spring.platform.version>Cairo-SR8</spring.platform.version>
  19. <!-- 推荐使用Harbor -->
  20. <docker.registry.url>192.168.0.157</docker.registry.url>
  21. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  22. <docker.username>admin</docker.username>
  23. <docker.password>Harbor12345</docker.password>
  24. <docker.namespace>blade</docker.namespace>
  25. <docker.plugin.version>1.4.13</docker.plugin.version>
  26. <ijapy.version>2.7.9</ijapy.version>
  27. </properties>
  28. <dependencyManagement>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springblade.platform</groupId>
  32. <artifactId>blade-bom</artifactId>
  33. <version>${bladex.project.version}</version>
  34. <type>pom</type>
  35. <scope>import</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-dependencies</artifactId>
  40. <version>${spring.boot.version}</version>
  41. <type>pom</type>
  42. <scope>import</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.spring.platform</groupId>
  46. <artifactId>platform-bom</artifactId>
  47. <version>${spring.platform.version}</version>
  48. <type>pom</type>
  49. <scope>import</scope>
  50. </dependency>
  51. </dependencies>
  52. </dependencyManagement>
  53. <dependencies>
  54. <!-- Blade -->
  55. <dependency>
  56. <groupId>org.springblade</groupId>
  57. <artifactId>blade-core-boot</artifactId>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>org.springblade</groupId>
  61. <artifactId>blade-core-cloud</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springblade</groupId>
  67. <artifactId>blade-starter-http</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springblade</groupId>
  71. <artifactId>blade-starter-api-crypto</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springblade</groupId>
  75. <artifactId>blade-starter-datascope</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springblade</groupId>
  79. <artifactId>blade-starter-tenant</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springblade</groupId>
  83. <artifactId>blade-starter-develop</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springblade</groupId>
  87. <artifactId>blade-starter-swagger</artifactId>
  88. </dependency>
  89. <!-- <dependency>-->
  90. <!-- <groupId>com.alibaba</groupId>-->
  91. <!-- <artifactId>easyexcel</artifactId>-->
  92. <!-- <version>3.1.1</version>-->
  93. <!-- </dependency>-->
  94. <!-- Excel包 -->
  95. <dependency>
  96. <groupId>org.apache.poi</groupId>
  97. <artifactId>poi-ooxml</artifactId>
  98. <version>4.1.2</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.poi</groupId>
  102. <artifactId>poi-ooxml-schemas</artifactId>
  103. <version>4.1.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.poi</groupId>
  107. <artifactId>poi</artifactId>
  108. <version>4.1.2</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springblade</groupId>
  112. <artifactId>blade-starter-excel</artifactId>
  113. <exclusions>
  114. <exclusion>
  115. <groupId>org.apache.poi</groupId>
  116. <artifactId>poi-ooxml</artifactId>
  117. </exclusion>
  118. </exclusions>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springblade</groupId>
  122. <artifactId>blade-starter-social</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.github.xiaoymin</groupId>
  126. <artifactId>knife4j-spring-ui</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springblade</groupId>
  130. <artifactId>blade-core-auto</artifactId>
  131. <scope>provided</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springblade</groupId>
  135. <artifactId>blade-core-test</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. <!-- 验证码 -->
  139. <dependency>
  140. <groupId>com.github.whvcse</groupId>
  141. <artifactId>easy-captcha</artifactId>
  142. </dependency>
  143. <!-- Mybatis-Plus -->
  144. <dependency>
  145. <groupId>com.baomidou</groupId>
  146. <artifactId>mybatis-plus-generator</artifactId>
  147. <scope>provided</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.apache.velocity</groupId>
  151. <artifactId>velocity</artifactId>
  152. <version>1.7</version>
  153. <scope>provided</scope>
  154. </dependency>
  155. <!--Oss-->
  156. <dependency>
  157. <groupId>org.springblade</groupId>
  158. <artifactId>blade-starter-oss</artifactId>
  159. </dependency>
  160. <!--Sms-->
  161. <dependency>
  162. <groupId>org.springblade</groupId>
  163. <artifactId>blade-starter-sms</artifactId>
  164. </dependency>
  165. <!--MinIO-->
  166. <dependency>
  167. <groupId>io.minio</groupId>
  168. <artifactId>minio</artifactId>
  169. </dependency>
  170. <!--Alioss-->
  171. <dependency>
  172. <groupId>com.aliyun.oss</groupId>
  173. <artifactId>aliyun-sdk-oss</artifactId>
  174. </dependency>
  175. <!--AliSms-->
  176. <dependency>
  177. <groupId>com.aliyun</groupId>
  178. <artifactId>aliyun-java-sdk-core</artifactId>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.aliyun</groupId>
  182. <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
  183. <version>2.2.1</version>
  184. </dependency>
  185. <!--腾讯COS-->
  186. <dependency>
  187. <groupId>com.qcloud</groupId>
  188. <artifactId>cos_api</artifactId>
  189. </dependency>
  190. <!--腾讯SMS-->
  191. <dependency>
  192. <groupId>com.github.qcloudsms</groupId>
  193. <artifactId>qcloudsms</artifactId>
  194. </dependency>
  195. <!--QiNiu-->
  196. <dependency>
  197. <groupId>com.qiniu</groupId>
  198. <artifactId>qiniu-java-sdk</artifactId>
  199. </dependency>
  200. <!--YunPian-->
  201. <dependency>
  202. <groupId>com.yunpian.sdk</groupId>
  203. <artifactId>yunpian-java-sdk</artifactId>
  204. </dependency>
  205. <!-- lombok -->
  206. <dependency>
  207. <groupId>org.projectlombok</groupId>
  208. <artifactId>lombok</artifactId>
  209. <scope>provided</scope>
  210. </dependency>
  211. <dependency>
  212. <groupId>cn.hutool</groupId>
  213. <artifactId>hutool-all</artifactId>
  214. <version>5.7.20</version>
  215. </dependency>
  216. <!--二维码-->
  217. <dependency>
  218. <groupId>com.google.zxing</groupId>
  219. <artifactId>core</artifactId>
  220. <version>3.3.3</version>
  221. </dependency>
  222. <!--微信支付-->
  223. <dependency>
  224. <groupId>com.github.javen205</groupId>
  225. <artifactId>IJPay-WxPay</artifactId>
  226. <version>${ijapy.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.apache.commons</groupId>
  230. <artifactId>commons-lang3</artifactId>
  231. <version>3.9</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.github.javen205</groupId>
  235. <artifactId>IJPay-AliPay</artifactId>
  236. <version>${ijapy.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>com.github.javen205</groupId>
  240. <artifactId>IJPay-Core</artifactId>
  241. <version>${ijapy.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>net.sf.json-lib</groupId>
  245. <artifactId>json-lib</artifactId>
  246. <version>2.2.3</version>
  247. <classifier>jdk15</classifier>
  248. </dependency>
  249. <!--支付宝最新SDK-->
  250. <dependency>
  251. <groupId>com.alipay.sdk</groupId>
  252. <artifactId>alipay-sdk-java</artifactId>
  253. <version>4.22.86.ALL</version>
  254. </dependency>
  255. <!--第三方支付sdk-->
  256. <dependency>
  257. <groupId>com.umf</groupId>
  258. <artifactId>aspose-imaging</artifactId>
  259. <version>0.0.1</version>
  260. <scope>system</scope>
  261. <systemPath>${project.basedir}/lib/UMF_SDK_V01.jar</systemPath>
  262. </dependency>
  263. <!--快递100sdk-->
  264. <dependency>
  265. <groupId>com.github.kuaidi100-api</groupId>
  266. <artifactId>sdk</artifactId>
  267. <version>1.0.10</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.springframework.boot</groupId>
  271. <artifactId>spring-boot-starter-actuator</artifactId>
  272. </dependency>
  273. </dependencies>
  274. <build>
  275. <finalName>${bladex.project.id}</finalName>
  276. <resources>
  277. <resource>
  278. <directory>src/main/resources</directory>
  279. </resource>
  280. <resource>
  281. <directory>src/main/java</directory>
  282. <includes>
  283. <include>**/*.xml</include>
  284. </includes>
  285. </resource>
  286. </resources>
  287. <pluginManagement>
  288. <plugins>
  289. <plugin>
  290. <groupId>org.springframework.boot</groupId>
  291. <artifactId>spring-boot-maven-plugin</artifactId>
  292. <version>${spring.boot.version}</version>
  293. <configuration>
  294. <finalName>${project.build.finalName}</finalName>
  295. <includeSystemScope>true</includeSystemScope>
  296. </configuration>
  297. <executions>
  298. <execution>
  299. <goals>
  300. <goal>repackage</goal>
  301. </goals>
  302. </execution>
  303. </executions>
  304. </plugin>
  305. <!--<plugin>
  306. <groupId>com.spotify</groupId>
  307. <artifactId>dockerfile-maven-plugin</artifactId>
  308. <version>${docker.plugin.version}</version>
  309. <configuration>
  310. <username>${docker.username}</username>
  311. <password>${docker.password}</password>
  312. <repository>${docker.registry.url}/${docker.namespace}/${project.build.finalName}</repository>
  313. <tag>${project.version}</tag>
  314. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  315. <buildArgs>
  316. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  317. </buildArgs>
  318. </configuration>
  319. &lt;!&ndash;添加如下配置,运行 mvn deploy 命令便会自动打包镜像&ndash;&gt;
  320. &lt;!&ndash;<executions>
  321. <execution>
  322. <id>default</id>
  323. <goals>
  324. <goal>build</goal>
  325. <goal>push</goal>
  326. </goals>
  327. </execution>
  328. </executions>&ndash;&gt;
  329. </plugin>-->
  330. </plugins>
  331. </pluginManagement>
  332. <plugins>
  333. <plugin>
  334. <groupId>org.springframework.boot</groupId>
  335. <artifactId>spring-boot-maven-plugin</artifactId>
  336. </plugin>
  337. <plugin>
  338. <artifactId>maven-compiler-plugin</artifactId>
  339. <version>${maven.plugin.version}</version>
  340. <configuration>
  341. <source>${java.version}</source>
  342. <target>${java.version}</target>
  343. <encoding>UTF-8</encoding>
  344. <compilerArgs>
  345. <arg>-parameters</arg>
  346. </compilerArgs>
  347. </configuration>
  348. </plugin>
  349. </plugins>
  350. </build>
  351. <repositories>
  352. <repository>
  353. <id>aliyun-repos</id>
  354. <url>https://maven.aliyun.com/repository/public/</url>
  355. <snapshots>
  356. <enabled>false</enabled>
  357. </snapshots>
  358. </repository>
  359. <repository>
  360. <id>blade-release</id>
  361. <name>Release Repository</name>
  362. <url>http://nexus.bladex.vip/repository/maven-releases/</url>
  363. </repository>
  364. </repositories>
  365. <pluginRepositories>
  366. <pluginRepository>
  367. <id>aliyun-plugin</id>
  368. <url>https://maven.aliyun.com/repository/public/</url>
  369. <snapshots>
  370. <enabled>false</enabled>
  371. </snapshots>
  372. </pluginRepository>
  373. </pluginRepositories>
  374. </project>