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>3.1.0.RELEASE</version>
  10. <properties>
  11. <bladex.project.id>blade-api</bladex.project.id>
  12. <bladex.project.version>3.1.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. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <!-- 推荐使用Harbor -->
  18. <docker.registry.url>192.168.0.157</docker.registry.url>
  19. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  20. <docker.username>admin</docker.username>
  21. <docker.password>Harbor12345</docker.password>
  22. <docker.namespace>blade</docker.namespace>
  23. <docker.plugin.version>1.4.13</docker.plugin.version>
  24. </properties>
  25. <dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springblade.platform</groupId>
  29. <artifactId>blade-bom</artifactId>
  30. <version>${bladex.project.version}</version>
  31. <type>pom</type>
  32. <scope>import</scope>
  33. </dependency>
  34. </dependencies>
  35. </dependencyManagement>
  36. <dependencies>
  37. <!-- Blade -->
  38. <dependency>
  39. <groupId>org.springblade</groupId>
  40. <artifactId>blade-core-boot</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.springblade</groupId>
  44. <artifactId>blade-core-cloud</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.deepoove</groupId>
  50. <artifactId>poi-tl</artifactId>
  51. <version>1.10.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi</artifactId>
  56. <version>4.1.2</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi-ooxml</artifactId>
  61. <version>4.1.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.poi</groupId>
  65. <artifactId>poi-ooxml-schemas</artifactId>
  66. <version>4.1.2</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>fr.opensagres.xdocreport</groupId>
  70. <artifactId>fr.opensagres.poi.xwpf.converter.pdf-gae</artifactId>
  71. <version>2.0.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>commons-io</groupId>
  75. <artifactId>commons-io</artifactId>
  76. <version>2.7</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springblade</groupId>
  80. <artifactId>blade-starter-http</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springblade</groupId>
  84. <artifactId>blade-starter-api-crypto</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springblade</groupId>
  88. <artifactId>blade-starter-datascope</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springblade</groupId>
  92. <artifactId>blade-starter-tenant</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springblade</groupId>
  96. <artifactId>blade-starter-develop</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springblade</groupId>
  100. <artifactId>blade-starter-swagger</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springblade</groupId>
  104. <artifactId>blade-starter-excel</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springblade</groupId>
  108. <artifactId>blade-starter-social</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.github.xiaoymin</groupId>
  112. <artifactId>knife4j-openapi2-ui</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springblade</groupId>
  116. <artifactId>blade-core-auto</artifactId>
  117. <scope>provided</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springblade</groupId>
  121. <artifactId>blade-core-test</artifactId>
  122. <scope>test</scope>
  123. </dependency>
  124. <!-- 报表 -->
  125. <dependency>
  126. <groupId>org.springblade</groupId>
  127. <artifactId>blade-starter-report</artifactId>
  128. </dependency>
  129. <!-- 工作流 -->
  130. <dependency>
  131. <groupId>org.springblade</groupId>
  132. <artifactId>blade-starter-flowable</artifactId>
  133. </dependency>
  134. <!-- 验证码 -->
  135. <dependency>
  136. <groupId>com.github.whvcse</groupId>
  137. <artifactId>easy-captcha</artifactId>
  138. </dependency>
  139. <!-- Mybatis-Plus -->
  140. <dependency>
  141. <groupId>com.baomidou</groupId>
  142. <artifactId>mybatis-plus-generator</artifactId>
  143. <scope>provided</scope>
  144. </dependency>
  145. <!--Oss-->
  146. <dependency>
  147. <groupId>org.springblade</groupId>
  148. <artifactId>blade-starter-oss</artifactId>
  149. </dependency>
  150. <!--Sms-->
  151. <dependency>
  152. <groupId>org.springblade</groupId>
  153. <artifactId>blade-starter-sms</artifactId>
  154. </dependency>
  155. <!--Aws S3-->
  156. <dependency>
  157. <groupId>com.amazonaws</groupId>
  158. <artifactId>aws-java-sdk-s3</artifactId>
  159. </dependency>
  160. <!--MinIO-->
  161. <dependency>
  162. <groupId>io.minio</groupId>
  163. <artifactId>minio</artifactId>
  164. </dependency>
  165. <!--Alioss-->
  166. <dependency>
  167. <groupId>com.aliyun.oss</groupId>
  168. <artifactId>aliyun-sdk-oss</artifactId>
  169. </dependency>
  170. <!--AliSms-->
  171. <dependency>
  172. <groupId>com.aliyun</groupId>
  173. <artifactId>aliyun-java-sdk-core</artifactId>
  174. </dependency>
  175. <!--腾讯COS-->
  176. <dependency>
  177. <groupId>com.qcloud</groupId>
  178. <artifactId>cos_api</artifactId>
  179. </dependency>
  180. <!--腾讯SMS-->
  181. <dependency>
  182. <groupId>com.github.qcloudsms</groupId>
  183. <artifactId>qcloudsms</artifactId>
  184. </dependency>
  185. <!--QiNiu-->
  186. <dependency>
  187. <groupId>com.qiniu</groupId>
  188. <artifactId>qiniu-java-sdk</artifactId>
  189. </dependency>
  190. <!--YunPian-->
  191. <dependency>
  192. <groupId>com.yunpian.sdk</groupId>
  193. <artifactId>yunpian-java-sdk</artifactId>
  194. </dependency>
  195. <!-- lombok -->
  196. <dependency>
  197. <groupId>org.projectlombok</groupId>
  198. <artifactId>lombok</artifactId>
  199. <scope>provided</scope>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.postgresql</groupId>
  203. <artifactId>postgresql</artifactId>
  204. </dependency>
  205. <dependency>
  206. <groupId>net.lingala.zip4j</groupId>
  207. <artifactId>zip4j</artifactId>
  208. <version>1.3.2</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.apache.axis2</groupId>
  212. <artifactId>axis2-kernel</artifactId>
  213. <version>1.7.9</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.apache.axis2</groupId>
  217. <artifactId>axis2-ant-plugin</artifactId>
  218. <version>1.7.9</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.axis2</groupId>
  222. <artifactId>axis2-corba</artifactId>
  223. <version>1.7.9</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.apache.axis2</groupId>
  227. <artifactId>axis2-jaxws</artifactId>
  228. <version>1.7.9</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.apache.axis2</groupId>
  232. <artifactId>axis2-spring</artifactId>
  233. <version>1.7.9</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.apache.cxf</groupId>
  237. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  238. <version>3.2.1</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.cxf</groupId>
  242. <artifactId>cxf-rt-transports-http</artifactId>
  243. <version>3.2.1</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.xiaoleilu</groupId>
  247. <artifactId>hutool</artifactId>
  248. <version>2.16.2</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.baomidou</groupId>
  252. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  253. <version>3.5.0</version>
  254. </dependency>
  255. </dependencies>
  256. <build>
  257. <finalName>st_jdrh_bf</finalName>
  258. <resources>
  259. <resource>
  260. <directory>src/main/resources</directory>
  261. </resource>
  262. <resource>
  263. <directory>src/main/java</directory>
  264. <includes>
  265. <include>**/*.xml</include>
  266. </includes>
  267. </resource>
  268. </resources>
  269. <pluginManagement>
  270. <plugins>
  271. <plugin>
  272. <groupId>org.springframework.boot</groupId>
  273. <artifactId>spring-boot-maven-plugin</artifactId>
  274. <version>2.7.10</version>
  275. <configuration>
  276. <finalName>${project.build.finalName}</finalName>
  277. </configuration>
  278. <executions>
  279. <execution>
  280. <goals>
  281. <goal>repackage</goal>
  282. </goals>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. <plugin>
  287. <groupId>com.spotify</groupId>
  288. <artifactId>dockerfile-maven-plugin</artifactId>
  289. <version>${docker.plugin.version}</version>
  290. <configuration>
  291. <username>${docker.username}</username>
  292. <password>${docker.password}</password>
  293. <repository>${docker.registry.url}/${docker.namespace}/${project.build.finalName}</repository>
  294. <tag>${project.version}</tag>
  295. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  296. <buildArgs>
  297. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  298. </buildArgs>
  299. </configuration>
  300. <!--添加如下配置,运行 mvn deploy 命令便会自动打包镜像-->
  301. <!--<executions>
  302. <execution>
  303. <id>default</id>
  304. <goals>
  305. <goal>build</goal>
  306. <goal>push</goal>
  307. </goals>
  308. </execution>
  309. </executions>-->
  310. </plugin>
  311. </plugins>
  312. </pluginManagement>
  313. <plugins>
  314. <plugin>
  315. <groupId>org.springframework.boot</groupId>
  316. <artifactId>spring-boot-maven-plugin</artifactId>
  317. </plugin>
  318. <plugin>
  319. <artifactId>maven-compiler-plugin</artifactId>
  320. <version>${maven.plugin.version}</version>
  321. <configuration>
  322. <source>${java.version}</source>
  323. <target>${java.version}</target>
  324. <encoding>UTF-8</encoding>
  325. <compilerArgs>
  326. <arg>-parameters</arg>
  327. </compilerArgs>
  328. </configuration>
  329. </plugin>
  330. </plugins>
  331. </build>
  332. <repositories>
  333. <repository>
  334. <id>aliyun-repos</id>
  335. <name>Aliyun Public Repository</name>
  336. <url>https://maven.aliyun.com/repository/public</url>
  337. <snapshots>
  338. <enabled>false</enabled>
  339. </snapshots>
  340. </repository>
  341. <repository>
  342. <id>bladex</id>
  343. <name>BladeX Release Repository</name>
  344. <url>https://center.javablade.com/api/packages/blade/maven</url>
  345. </repository>
  346. </repositories>
  347. <pluginRepositories>
  348. <pluginRepository>
  349. <id>aliyun-plugin</id>
  350. <name>Aliyun Public Plugin</name>
  351. <url>https://maven.aliyun.com/repository/public</url>
  352. <snapshots>
  353. <enabled>false</enabled>
  354. </snapshots>
  355. </pluginRepository>
  356. </pluginRepositories>
  357. <distributionManagement>
  358. <repository>
  359. <id>bladex</id>
  360. <name>BladeX Release Repository</name>
  361. <url>https://center.javablade.com/api/packages/blade/maven</url>
  362. </repository>
  363. <snapshotRepository>
  364. <id>bladex</id>
  365. <name>BladeX Snapshot Repository</name>
  366. <url>https://center.javablade.com/api/packages/blade/maven</url>
  367. </snapshotRepository>
  368. </distributionManagement>
  369. </project>