pom.xml 15 KB

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