pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  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. <!--快递100sdk-->
  256. <dependency>
  257. <groupId>com.github.kuaidi100-api</groupId>
  258. <artifactId>sdk</artifactId>
  259. <version>1.0.10</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-starter-actuator</artifactId>
  264. </dependency>
  265. </dependencies>
  266. <build>
  267. <finalName>${bladex.project.id}</finalName>
  268. <resources>
  269. <resource>
  270. <directory>src/main/resources</directory>
  271. </resource>
  272. <resource>
  273. <directory>src/main/java</directory>
  274. <includes>
  275. <include>**/*.xml</include>
  276. </includes>
  277. </resource>
  278. </resources>
  279. <pluginManagement>
  280. <plugins>
  281. <plugin>
  282. <groupId>org.springframework.boot</groupId>
  283. <artifactId>spring-boot-maven-plugin</artifactId>
  284. <version>${spring.boot.version}</version>
  285. <configuration>
  286. <finalName>${project.build.finalName}</finalName>
  287. <includeSystemScope>true</includeSystemScope>
  288. </configuration>
  289. <executions>
  290. <execution>
  291. <goals>
  292. <goal>repackage</goal>
  293. </goals>
  294. </execution>
  295. </executions>
  296. </plugin>
  297. <!--<plugin>
  298. <groupId>com.spotify</groupId>
  299. <artifactId>dockerfile-maven-plugin</artifactId>
  300. <version>${docker.plugin.version}</version>
  301. <configuration>
  302. <username>${docker.username}</username>
  303. <password>${docker.password}</password>
  304. <repository>${docker.registry.url}/${docker.namespace}/${project.build.finalName}</repository>
  305. <tag>${project.version}</tag>
  306. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  307. <buildArgs>
  308. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  309. </buildArgs>
  310. </configuration>
  311. &lt;!&ndash;添加如下配置,运行 mvn deploy 命令便会自动打包镜像&ndash;&gt;
  312. &lt;!&ndash;<executions>
  313. <execution>
  314. <id>default</id>
  315. <goals>
  316. <goal>build</goal>
  317. <goal>push</goal>
  318. </goals>
  319. </execution>
  320. </executions>&ndash;&gt;
  321. </plugin>-->
  322. </plugins>
  323. </pluginManagement>
  324. <plugins>
  325. <plugin>
  326. <groupId>org.springframework.boot</groupId>
  327. <artifactId>spring-boot-maven-plugin</artifactId>
  328. </plugin>
  329. <plugin>
  330. <artifactId>maven-compiler-plugin</artifactId>
  331. <version>${maven.plugin.version}</version>
  332. <configuration>
  333. <source>${java.version}</source>
  334. <target>${java.version}</target>
  335. <encoding>UTF-8</encoding>
  336. <compilerArgs>
  337. <arg>-parameters</arg>
  338. </compilerArgs>
  339. </configuration>
  340. </plugin>
  341. </plugins>
  342. </build>
  343. <repositories>
  344. <repository>
  345. <id>aliyun-repos</id>
  346. <url>https://maven.aliyun.com/repository/public/</url>
  347. <snapshots>
  348. <enabled>false</enabled>
  349. </snapshots>
  350. </repository>
  351. <repository>
  352. <id>blade-release</id>
  353. <name>Release Repository</name>
  354. <url>http://nexus.bladex.vip/repository/maven-releases/</url>
  355. </repository>
  356. </repositories>
  357. <pluginRepositories>
  358. <pluginRepository>
  359. <id>aliyun-plugin</id>
  360. <url>https://maven.aliyun.com/repository/public/</url>
  361. <snapshots>
  362. <enabled>false</enabled>
  363. </snapshots>
  364. </pluginRepository>
  365. </pluginRepositories>
  366. </project>