pom.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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.0.6.RELEASE</version>
  10. <properties>
  11. <bladex.tool.version>2.0.6.RELEASE</bladex.tool.version>
  12. <java.version>1.8</java.version>
  13. <maven.plugin.version>3.8.1</maven.plugin.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <swagger.version>2.9.2</swagger.version>
  17. <swagger.models.version>1.5.21</swagger.models.version>
  18. <swagger.bootstrapui.version>1.9.4</swagger.bootstrapui.version>
  19. <mybatis.plus.version>3.1.2</mybatis.plus.version>
  20. <protostuff.version>1.6.0</protostuff.version>
  21. <flowable.version>6.4.2</flowable.version>
  22. <spring.boot.version>2.1.6.RELEASE</spring.boot.version>
  23. <spring.platform.version>Cairo-SR8</spring.platform.version>
  24. <!-- 推荐使用Harbor -->
  25. <docker.registry.url>10.211.55.5</docker.registry.url>
  26. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  27. <docker.plugin.version>1.1.0</docker.plugin.version>
  28. </properties>
  29. <dependencyManagement>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-dependencies</artifactId>
  34. <version>${spring.boot.version}</version>
  35. <type>pom</type>
  36. <scope>import</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.spring.platform</groupId>
  40. <artifactId>platform-bom</artifactId>
  41. <version>${spring.platform.version}</version>
  42. <type>pom</type>
  43. <scope>import</scope>
  44. </dependency>
  45. </dependencies>
  46. </dependencyManagement>
  47. <dependencies>
  48. <!-- Blade -->
  49. <dependency>
  50. <groupId>org.springblade</groupId>
  51. <artifactId>blade-core-boot</artifactId>
  52. <version>${bladex.tool.version}</version>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.springblade</groupId>
  56. <artifactId>blade-core-cloud</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springblade</groupId>
  62. <artifactId>blade-starter-datascope</artifactId>
  63. <version>${bladex.tool.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springblade</groupId>
  67. <artifactId>blade-starter-swagger</artifactId>
  68. <version>${bladex.tool.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springblade</groupId>
  72. <artifactId>blade-starter-tenant</artifactId>
  73. <version>${bladex.tool.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.springblade</groupId>
  77. <artifactId>blade-starter-develop</artifactId>
  78. <version>${bladex.tool.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springblade</groupId>
  82. <artifactId>blade-starter-minio</artifactId>
  83. <version>${bladex.tool.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springblade</groupId>
  87. <artifactId>blade-starter-qiniu</artifactId>
  88. <version>${bladex.tool.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springblade</groupId>
  92. <artifactId>blade-core-auto</artifactId>
  93. <version>${bladex.tool.version}</version>
  94. <scope>provided</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springblade</groupId>
  98. <artifactId>blade-core-test</artifactId>
  99. <version>${bladex.tool.version}</version>
  100. <scope>test</scope>
  101. </dependency>
  102. <!-- 工作流 -->
  103. <dependency>
  104. <groupId>org.flowable</groupId>
  105. <artifactId>flowable-spring-boot-starter</artifactId>
  106. <version>${flowable.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.flowable</groupId>
  110. <artifactId>flowable-json-converter</artifactId>
  111. <version>${flowable.version}</version>
  112. </dependency>
  113. <!-- Mybatis-Plus -->
  114. <dependency>
  115. <groupId>com.baomidou</groupId>
  116. <artifactId>mybatis-plus-generator</artifactId>
  117. <version>${mybatis.plus.version}</version>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.velocity</groupId>
  122. <artifactId>velocity</artifactId>
  123. <version>1.7</version>
  124. <scope>provided</scope>
  125. </dependency>
  126. <!-- lombok -->
  127. <dependency>
  128. <groupId>org.projectlombok</groupId>
  129. <artifactId>lombok</artifactId>
  130. <scope>provided</scope>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <finalName>BladeX</finalName>
  135. <resources>
  136. <resource>
  137. <directory>src/main/resources</directory>
  138. </resource>
  139. <resource>
  140. <directory>src/main/java</directory>
  141. <includes>
  142. <include>**/*.xml</include>
  143. </includes>
  144. </resource>
  145. </resources>
  146. <pluginManagement>
  147. <plugins>
  148. <plugin>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-maven-plugin</artifactId>
  151. <version>${spring.boot.version}</version>
  152. <configuration>
  153. <finalName>${project.build.finalName}</finalName>
  154. </configuration>
  155. <executions>
  156. <execution>
  157. <goals>
  158. <goal>repackage</goal>
  159. </goals>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. <plugin>
  164. <groupId>com.spotify</groupId>
  165. <artifactId>docker-maven-plugin</artifactId>
  166. <version>${docker.plugin.version}</version>
  167. <configuration>
  168. <imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
  169. <dockerDirectory>${project.basedir}</dockerDirectory>
  170. <dockerHost>${docker.registry.host}</dockerHost>
  171. <resources>
  172. <resource>
  173. <targetPath>/</targetPath>
  174. <directory>${project.build.directory}</directory>
  175. <include>${project.build.finalName}.jar</include>
  176. </resource>
  177. </resources>
  178. <registryUrl>${docker.registry.url}</registryUrl>
  179. <serverId>${docker.registry.url}</serverId>
  180. <pushImage>true</pushImage>
  181. </configuration>
  182. </plugin>
  183. </plugins>
  184. </pluginManagement>
  185. <plugins>
  186. <plugin>
  187. <groupId>org.springframework.boot</groupId>
  188. <artifactId>spring-boot-maven-plugin</artifactId>
  189. </plugin>
  190. <plugin>
  191. <artifactId>maven-compiler-plugin</artifactId>
  192. <version>${maven.plugin.version}</version>
  193. <configuration>
  194. <source>${java.version}</source>
  195. <target>${java.version}</target>
  196. <encoding>UTF-8</encoding>
  197. <compilerArgs>
  198. <arg>-parameters</arg>
  199. </compilerArgs>
  200. </configuration>
  201. </plugin>
  202. </plugins>
  203. </build>
  204. <repositories>
  205. <repository>
  206. <id>release</id>
  207. <name>Release Repository</name>
  208. <url>http://nexus.gitee.ltd/repository/maven-releases/</url>
  209. </repository>
  210. <repository>
  211. <id>aliyun-repos</id>
  212. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  213. <snapshots>
  214. <enabled>false</enabled>
  215. </snapshots>
  216. </repository>
  217. </repositories>
  218. <pluginRepositories>
  219. <pluginRepository>
  220. <id>aliyun-plugin</id>
  221. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  222. <snapshots>
  223. <enabled>false</enabled>
  224. </snapshots>
  225. </pluginRepository>
  226. </pluginRepositories>
  227. </project>