pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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>org.springblade</groupId>
  91. <artifactId>blade-starter-excel</artifactId>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springblade</groupId>
  95. <artifactId>blade-starter-social</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.xiaoymin</groupId>
  99. <artifactId>knife4j-spring-ui</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springblade</groupId>
  103. <artifactId>blade-core-auto</artifactId>
  104. <scope>provided</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springblade</groupId>
  108. <artifactId>blade-core-test</artifactId>
  109. <scope>test</scope>
  110. </dependency>
  111. <!-- 验证码 -->
  112. <dependency>
  113. <groupId>com.github.whvcse</groupId>
  114. <artifactId>easy-captcha</artifactId>
  115. </dependency>
  116. <!-- Mybatis-Plus -->
  117. <dependency>
  118. <groupId>com.baomidou</groupId>
  119. <artifactId>mybatis-plus-generator</artifactId>
  120. <scope>provided</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.velocity</groupId>
  124. <artifactId>velocity</artifactId>
  125. <version>1.7</version>
  126. <scope>provided</scope>
  127. </dependency>
  128. <!--Oss-->
  129. <dependency>
  130. <groupId>org.springblade</groupId>
  131. <artifactId>blade-starter-oss</artifactId>
  132. </dependency>
  133. <!--Sms-->
  134. <dependency>
  135. <groupId>org.springblade</groupId>
  136. <artifactId>blade-starter-sms</artifactId>
  137. </dependency>
  138. <!--MinIO-->
  139. <dependency>
  140. <groupId>io.minio</groupId>
  141. <artifactId>minio</artifactId>
  142. </dependency>
  143. <!--Alioss-->
  144. <dependency>
  145. <groupId>com.aliyun.oss</groupId>
  146. <artifactId>aliyun-sdk-oss</artifactId>
  147. </dependency>
  148. <!--AliSms-->
  149. <dependency>
  150. <groupId>com.aliyun</groupId>
  151. <artifactId>aliyun-java-sdk-core</artifactId>
  152. </dependency>
  153. <!--腾讯COS-->
  154. <dependency>
  155. <groupId>com.qcloud</groupId>
  156. <artifactId>cos_api</artifactId>
  157. </dependency>
  158. <!--腾讯SMS-->
  159. <dependency>
  160. <groupId>com.github.qcloudsms</groupId>
  161. <artifactId>qcloudsms</artifactId>
  162. </dependency>
  163. <!--QiNiu-->
  164. <dependency>
  165. <groupId>com.qiniu</groupId>
  166. <artifactId>qiniu-java-sdk</artifactId>
  167. </dependency>
  168. <!--YunPian-->
  169. <dependency>
  170. <groupId>com.yunpian.sdk</groupId>
  171. <artifactId>yunpian-java-sdk</artifactId>
  172. </dependency>
  173. <!-- lombok -->
  174. <dependency>
  175. <groupId>org.projectlombok</groupId>
  176. <artifactId>lombok</artifactId>
  177. <scope>provided</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>cn.hutool</groupId>
  181. <artifactId>hutool-all</artifactId>
  182. <version>5.7.20</version>
  183. </dependency>
  184. <!--二维码-->
  185. <dependency>
  186. <groupId>com.google.zxing</groupId>
  187. <artifactId>core</artifactId>
  188. <version>3.3.3</version>
  189. </dependency>
  190. <!--微信支付-->
  191. <dependency>
  192. <groupId>com.github.javen205</groupId>
  193. <artifactId>IJPay-WxPay</artifactId>
  194. <version>${ijapy.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.commons</groupId>
  198. <artifactId>commons-lang3</artifactId>
  199. <version>3.9</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>com.github.javen205</groupId>
  203. <artifactId>IJPay-AliPay</artifactId>
  204. <version>${ijapy.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>com.github.javen205</groupId>
  208. <artifactId>IJPay-Core</artifactId>
  209. <version>${ijapy.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>net.sf.json-lib</groupId>
  213. <artifactId>json-lib</artifactId>
  214. <version>2.2.3</version>
  215. <classifier>jdk15</classifier>
  216. </dependency>
  217. <!--支付宝最新SDK-->
  218. <dependency>
  219. <groupId>com.alipay.sdk</groupId>
  220. <artifactId>alipay-sdk-java</artifactId>
  221. <version>4.22.86.ALL</version>
  222. </dependency>
  223. </dependencies>
  224. <build>
  225. <finalName>${bladex.project.id}</finalName>
  226. <resources>
  227. <resource>
  228. <directory>src/main/resources</directory>
  229. </resource>
  230. <resource>
  231. <directory>src/main/java</directory>
  232. <includes>
  233. <include>**/*.xml</include>
  234. </includes>
  235. </resource>
  236. </resources>
  237. <pluginManagement>
  238. <plugins>
  239. <plugin>
  240. <groupId>org.springframework.boot</groupId>
  241. <artifactId>spring-boot-maven-plugin</artifactId>
  242. <version>${spring.boot.version}</version>
  243. <configuration>
  244. <finalName>${project.build.finalName}</finalName>
  245. </configuration>
  246. <executions>
  247. <execution>
  248. <goals>
  249. <goal>repackage</goal>
  250. </goals>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. <plugin>
  255. <groupId>com.spotify</groupId>
  256. <artifactId>dockerfile-maven-plugin</artifactId>
  257. <version>${docker.plugin.version}</version>
  258. <configuration>
  259. <username>${docker.username}</username>
  260. <password>${docker.password}</password>
  261. <repository>${docker.registry.url}/${docker.namespace}/${project.build.finalName}</repository>
  262. <tag>${project.version}</tag>
  263. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  264. <buildArgs>
  265. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  266. </buildArgs>
  267. </configuration>
  268. <!--添加如下配置,运行 mvn deploy 命令便会自动打包镜像-->
  269. <!--<executions>
  270. <execution>
  271. <id>default</id>
  272. <goals>
  273. <goal>build</goal>
  274. <goal>push</goal>
  275. </goals>
  276. </execution>
  277. </executions>-->
  278. </plugin>
  279. </plugins>
  280. </pluginManagement>
  281. <plugins>
  282. <plugin>
  283. <groupId>org.springframework.boot</groupId>
  284. <artifactId>spring-boot-maven-plugin</artifactId>
  285. </plugin>
  286. <plugin>
  287. <artifactId>maven-compiler-plugin</artifactId>
  288. <version>${maven.plugin.version}</version>
  289. <configuration>
  290. <source>${java.version}</source>
  291. <target>${java.version}</target>
  292. <encoding>UTF-8</encoding>
  293. <compilerArgs>
  294. <arg>-parameters</arg>
  295. </compilerArgs>
  296. </configuration>
  297. </plugin>
  298. </plugins>
  299. </build>
  300. <repositories>
  301. <repository>
  302. <id>aliyun-repos</id>
  303. <url>https://maven.aliyun.com/repository/public/</url>
  304. <snapshots>
  305. <enabled>false</enabled>
  306. </snapshots>
  307. </repository>
  308. <repository>
  309. <id>blade-release</id>
  310. <name>Release Repository</name>
  311. <url>http://nexus.bladex.vip/repository/maven-releases/</url>
  312. </repository>
  313. </repositories>
  314. <pluginRepositories>
  315. <pluginRepository>
  316. <id>aliyun-plugin</id>
  317. <url>https://maven.aliyun.com/repository/public/</url>
  318. <snapshots>
  319. <enabled>false</enabled>
  320. </snapshots>
  321. </pluginRepository>
  322. </pluginRepositories>
  323. </project>