pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.springblade</groupId>
  6. <artifactId>blade-tool</artifactId>
  7. <version>2.5.0</version>
  8. <packaging>pom</packaging>
  9. <name>blade-tool</name>
  10. <description>
  11. blade-tool is a powerful toolbox for SpringBlade
  12. </description>
  13. <url>https://github.com/chillzhuang/blade-tool</url>
  14. <developers>
  15. <developer>
  16. <id>smallchill</id>
  17. <name>庄骞</name>
  18. <email>smallchill@163.com</email>
  19. <roles>
  20. <role>Java Development Engineer</role>
  21. </roles>
  22. <timezone>2018-12-28 23:33:33</timezone>
  23. </developer>
  24. </developers>
  25. <licenses>
  26. <license>
  27. <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
  28. <url>http://www.gnu.org/licenses/lgpl.html</url>
  29. </license>
  30. </licenses>
  31. <scm>
  32. <connection>https://github.com/chillzhuang/blade-tool.git</connection>
  33. <developerConnection>https://github.com/chillzhuang</developerConnection>
  34. <url>https://github.com/chillzhuang/blade-tool.git</url>
  35. </scm>
  36. <properties>
  37. <blade.tool.version>2.5.0</blade.tool.version>
  38. <java.version>1.8</java.version>
  39. <maven.plugin.version>3.8.0</maven.plugin.version>
  40. <swagger.version>2.9.2</swagger.version>
  41. <swagger.models.version>1.5.21</swagger.models.version>
  42. <swagger.bootstrapui.version>1.9.6</swagger.bootstrapui.version>
  43. <mybatis.plus.version>3.1.2</mybatis.plus.version>
  44. <curator.framework.version>4.0.1</curator.framework.version>
  45. <protostuff.version>1.6.0</protostuff.version>
  46. <disruptor.version>3.4.2</disruptor.version>
  47. <spring.boot.admin.version>2.1.5</spring.boot.admin.version>
  48. <mica.auto.version>1.1.0</mica.auto.version>
  49. <alibaba.cloud.version>2.1.0.RELEASE</alibaba.cloud.version>
  50. <alibaba.seata.version>0.8.1</alibaba.seata.version>
  51. <spring.boot.version>2.1.8.RELEASE</spring.boot.version>
  52. <spring.cloud.version>Greenwich.SR3</spring.cloud.version>
  53. <spring.platform.version>Cairo-SR8</spring.platform.version>
  54. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  55. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  56. </properties>
  57. <modules>
  58. <module>blade-core-boot</module>
  59. <module>blade-core-cloud</module>
  60. <module>blade-core-develop</module>
  61. <module>blade-core-launch</module>
  62. <module>blade-core-log</module>
  63. <module>blade-core-mybatis</module>
  64. <module>blade-core-secure</module>
  65. <module>blade-core-swagger</module>
  66. <module>blade-core-test</module>
  67. <module>blade-core-tool</module>
  68. <module>blade-core-oss</module>
  69. <module>blade-core-transaction</module>
  70. </modules>
  71. <dependencyManagement>
  72. <dependencies>
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-dependencies</artifactId>
  76. <version>${spring.boot.version}</version>
  77. <type>pom</type>
  78. <scope>import</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.cloud</groupId>
  82. <artifactId>spring-cloud-dependencies</artifactId>
  83. <version>${spring.cloud.version}</version>
  84. <type>pom</type>
  85. <scope>import</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.spring.platform</groupId>
  89. <artifactId>platform-bom</artifactId>
  90. <version>${spring.platform.version}</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. </dependencies>
  95. </dependencyManagement>
  96. <dependencies>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-aop</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-test</artifactId>
  104. <scope>test</scope>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-configuration-processor</artifactId>
  109. <optional>true</optional>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-actuator</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework.retry</groupId>
  117. <artifactId>spring-retry</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-devtools</artifactId>
  122. <optional>true</optional>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.projectlombok</groupId>
  126. <artifactId>lombok</artifactId>
  127. <scope>provided</scope>
  128. </dependency>
  129. <dependency>
  130. <groupId>net.dreamlu</groupId>
  131. <artifactId>mica-auto</artifactId>
  132. <version>${mica.auto.version}</version>
  133. <scope>provided</scope>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <finalName>${project.name}</finalName>
  138. <resources>
  139. <resource>
  140. <directory>src/main/resources</directory>
  141. </resource>
  142. <resource>
  143. <directory>src/main/java</directory>
  144. <includes>
  145. <include>**/*.xml</include>
  146. </includes>
  147. </resource>
  148. </resources>
  149. <plugins>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-compiler-plugin</artifactId>
  153. <version>${maven.plugin.version}</version>
  154. <configuration>
  155. <source>${java.version}</source>
  156. <target>${java.version}</target>
  157. <encoding>UTF-8</encoding>
  158. <compilerArgs>
  159. <arg>-parameters</arg>
  160. </compilerArgs>
  161. </configuration>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-javadoc-plugin</artifactId>
  166. <version>2.9.1</version>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-surefire-plugin</artifactId>
  171. <version>2.18.1</version>
  172. <configuration>
  173. <skipTests>true</skipTests>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. <repositories>
  179. <repository>
  180. <id>aliyun-repos</id>
  181. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  182. <snapshots>
  183. <enabled>false</enabled>
  184. </snapshots>
  185. </repository>
  186. </repositories>
  187. <pluginRepositories>
  188. <pluginRepository>
  189. <id>aliyun-plugin</id>
  190. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  191. <snapshots>
  192. <enabled>false</enabled>
  193. </snapshots>
  194. </pluginRepository>
  195. </pluginRepositories>
  196. <distributionManagement>
  197. <snapshotRepository>
  198. <id>oss</id>
  199. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  200. </snapshotRepository>
  201. <repository>
  202. <id>oss</id>
  203. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  204. </repository>
  205. </distributionManagement>
  206. <profiles>
  207. <profile>
  208. <id>release</id>
  209. <build>
  210. <plugins>
  211. <!-- Source -->
  212. <plugin>
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-source-plugin</artifactId>
  215. <version>2.2.1</version>
  216. <executions>
  217. <execution>
  218. <phase>package</phase>
  219. <goals>
  220. <goal>jar-no-fork</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. </plugin>
  225. <!-- Javadoc -->
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-javadoc-plugin</artifactId>
  229. <version>2.10.1</version>
  230. <executions>
  231. <execution>
  232. <phase>package</phase>
  233. <goals>
  234. <goal>jar</goal>
  235. </goals>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <!-- GPG -->
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-gpg-plugin</artifactId>
  243. <version>1.6</version>
  244. <executions>
  245. <execution>
  246. <phase>verify</phase>
  247. <goals>
  248. <goal>sign</goal>
  249. </goals>
  250. </execution>
  251. </executions>
  252. </plugin>
  253. </plugins>
  254. </build>
  255. <distributionManagement>
  256. <!-- 这里的id oss需要和setting.xml里面server节点配置的id一致-->
  257. <snapshotRepository>
  258. <id>oss</id>
  259. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  260. </snapshotRepository>
  261. <repository>
  262. <id>oss</id>
  263. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  264. </repository>
  265. </distributionManagement>
  266. </profile>
  267. </profiles>
  268. </project>