pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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.4</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.4</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.9.0</alibaba.seata.version>
  51. <spring.boot.version>2.1.9.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.projectlombok</groupId>
  121. <artifactId>lombok</artifactId>
  122. <scope>provided</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>net.dreamlu</groupId>
  126. <artifactId>mica-auto</artifactId>
  127. <version>${mica.auto.version}</version>
  128. <scope>provided</scope>
  129. </dependency>
  130. </dependencies>
  131. <build>
  132. <finalName>${project.name}</finalName>
  133. <resources>
  134. <resource>
  135. <directory>src/main/resources</directory>
  136. </resource>
  137. <resource>
  138. <directory>src/main/java</directory>
  139. <includes>
  140. <include>**/*.xml</include>
  141. </includes>
  142. </resource>
  143. </resources>
  144. <plugins>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-compiler-plugin</artifactId>
  148. <version>${maven.plugin.version}</version>
  149. <configuration>
  150. <source>${java.version}</source>
  151. <target>${java.version}</target>
  152. <encoding>UTF-8</encoding>
  153. <compilerArgs>
  154. <arg>-parameters</arg>
  155. </compilerArgs>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-javadoc-plugin</artifactId>
  161. <version>2.9.1</version>
  162. </plugin>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-surefire-plugin</artifactId>
  166. <version>2.18.1</version>
  167. <configuration>
  168. <skipTests>true</skipTests>
  169. </configuration>
  170. </plugin>
  171. </plugins>
  172. </build>
  173. <repositories>
  174. <repository>
  175. <id>aliyun-repos</id>
  176. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  177. <snapshots>
  178. <enabled>false</enabled>
  179. </snapshots>
  180. </repository>
  181. </repositories>
  182. <pluginRepositories>
  183. <pluginRepository>
  184. <id>aliyun-plugin</id>
  185. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  186. <snapshots>
  187. <enabled>false</enabled>
  188. </snapshots>
  189. </pluginRepository>
  190. </pluginRepositories>
  191. <distributionManagement>
  192. <snapshotRepository>
  193. <id>oss</id>
  194. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  195. </snapshotRepository>
  196. <repository>
  197. <id>oss</id>
  198. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  199. </repository>
  200. </distributionManagement>
  201. <profiles>
  202. <profile>
  203. <id>release</id>
  204. <build>
  205. <plugins>
  206. <!-- Source -->
  207. <plugin>
  208. <groupId>org.apache.maven.plugins</groupId>
  209. <artifactId>maven-source-plugin</artifactId>
  210. <version>2.2.1</version>
  211. <executions>
  212. <execution>
  213. <phase>package</phase>
  214. <goals>
  215. <goal>jar-no-fork</goal>
  216. </goals>
  217. </execution>
  218. </executions>
  219. </plugin>
  220. <!-- Javadoc -->
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-javadoc-plugin</artifactId>
  224. <version>2.10.1</version>
  225. <executions>
  226. <execution>
  227. <phase>package</phase>
  228. <goals>
  229. <goal>jar</goal>
  230. </goals>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <!-- GPG -->
  235. <plugin>
  236. <groupId>org.apache.maven.plugins</groupId>
  237. <artifactId>maven-gpg-plugin</artifactId>
  238. <version>1.6</version>
  239. <executions>
  240. <execution>
  241. <phase>verify</phase>
  242. <goals>
  243. <goal>sign</goal>
  244. </goals>
  245. </execution>
  246. </executions>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. <distributionManagement>
  251. <!-- 这里的id oss需要和setting.xml里面server节点配置的id一致-->
  252. <snapshotRepository>
  253. <id>oss</id>
  254. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  255. </snapshotRepository>
  256. <repository>
  257. <id>oss</id>
  258. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  259. </repository>
  260. </distributionManagement>
  261. </profile>
  262. </profiles>
  263. </project>