pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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.6.1</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.6.1</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. <knife4j.version>2.0.1</knife4j.version>
  43. <mybatis.plus.version>3.3.1</mybatis.plus.version>
  44. <protostuff.version>1.6.0</protostuff.version>
  45. <disruptor.version>3.4.2</disruptor.version>
  46. <spring.boot.admin.version>2.2.2</spring.boot.admin.version>
  47. <mica.auto.version>1.1.0</mica.auto.version>
  48. <alibaba.cloud.version>2.2.0.RELEASE</alibaba.cloud.version>
  49. <alibaba.seata.version>1.0.0</alibaba.seata.version>
  50. <spring.boot.version>2.2.4.RELEASE</spring.boot.version>
  51. <spring.cloud.version>Hoxton.SR1</spring.cloud.version>
  52. <spring.platform.version>Cairo-SR8</spring.platform.version>
  53. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  54. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  55. </properties>
  56. <modules>
  57. <module>blade-core-boot</module>
  58. <module>blade-core-cloud</module>
  59. <module>blade-core-develop</module>
  60. <module>blade-core-launch</module>
  61. <module>blade-core-log</module>
  62. <module>blade-core-mybatis</module>
  63. <module>blade-core-secure</module>
  64. <module>blade-core-swagger</module>
  65. <module>blade-core-test</module>
  66. <module>blade-core-tool</module>
  67. <module>blade-core-oss</module>
  68. <module>blade-core-transaction</module>
  69. </modules>
  70. <dependencyManagement>
  71. <dependencies>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-dependencies</artifactId>
  75. <version>${spring.boot.version}</version>
  76. <type>pom</type>
  77. <scope>import</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.cloud</groupId>
  81. <artifactId>spring-cloud-dependencies</artifactId>
  82. <version>${spring.cloud.version}</version>
  83. <type>pom</type>
  84. <scope>import</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.spring.platform</groupId>
  88. <artifactId>platform-bom</artifactId>
  89. <version>${spring.platform.version}</version>
  90. <type>pom</type>
  91. <scope>import</scope>
  92. </dependency>
  93. </dependencies>
  94. </dependencyManagement>
  95. <dependencies>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-aop</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-starter-test</artifactId>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-configuration-processor</artifactId>
  108. <optional>true</optional>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-actuator</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.retry</groupId>
  116. <artifactId>spring-retry</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. <scope>provided</scope>
  122. </dependency>
  123. <dependency>
  124. <groupId>net.dreamlu</groupId>
  125. <artifactId>mica-auto</artifactId>
  126. <version>${mica.auto.version}</version>
  127. <scope>provided</scope>
  128. </dependency>
  129. </dependencies>
  130. <build>
  131. <finalName>${project.name}</finalName>
  132. <resources>
  133. <resource>
  134. <directory>src/main/resources</directory>
  135. </resource>
  136. <resource>
  137. <directory>src/main/java</directory>
  138. <includes>
  139. <include>**/*.xml</include>
  140. </includes>
  141. </resource>
  142. </resources>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-compiler-plugin</artifactId>
  147. <version>${maven.plugin.version}</version>
  148. <configuration>
  149. <source>${java.version}</source>
  150. <target>${java.version}</target>
  151. <encoding>UTF-8</encoding>
  152. <compilerArgs>
  153. <arg>-parameters</arg>
  154. </compilerArgs>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-javadoc-plugin</artifactId>
  160. <version>2.9.1</version>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-surefire-plugin</artifactId>
  165. <version>2.18.1</version>
  166. <configuration>
  167. <skipTests>true</skipTests>
  168. </configuration>
  169. </plugin>
  170. </plugins>
  171. </build>
  172. <repositories>
  173. <repository>
  174. <id>aliyun-repos</id>
  175. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  176. <snapshots>
  177. <enabled>false</enabled>
  178. </snapshots>
  179. </repository>
  180. </repositories>
  181. <pluginRepositories>
  182. <pluginRepository>
  183. <id>aliyun-plugin</id>
  184. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  185. <snapshots>
  186. <enabled>false</enabled>
  187. </snapshots>
  188. </pluginRepository>
  189. </pluginRepositories>
  190. <distributionManagement>
  191. <snapshotRepository>
  192. <id>oss</id>
  193. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  194. </snapshotRepository>
  195. <repository>
  196. <id>oss</id>
  197. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  198. </repository>
  199. </distributionManagement>
  200. <profiles>
  201. <profile>
  202. <id>release</id>
  203. <build>
  204. <plugins>
  205. <!-- Source -->
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-source-plugin</artifactId>
  209. <version>2.2.1</version>
  210. <executions>
  211. <execution>
  212. <phase>package</phase>
  213. <goals>
  214. <goal>jar-no-fork</goal>
  215. </goals>
  216. </execution>
  217. </executions>
  218. </plugin>
  219. <!-- Javadoc -->
  220. <plugin>
  221. <groupId>org.apache.maven.plugins</groupId>
  222. <artifactId>maven-javadoc-plugin</artifactId>
  223. <version>2.10.1</version>
  224. <executions>
  225. <execution>
  226. <phase>package</phase>
  227. <goals>
  228. <goal>jar</goal>
  229. </goals>
  230. </execution>
  231. </executions>
  232. </plugin>
  233. <!-- GPG -->
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-gpg-plugin</artifactId>
  237. <version>1.6</version>
  238. <executions>
  239. <execution>
  240. <phase>verify</phase>
  241. <goals>
  242. <goal>sign</goal>
  243. </goals>
  244. </execution>
  245. </executions>
  246. </plugin>
  247. </plugins>
  248. </build>
  249. <distributionManagement>
  250. <!-- 这里的id oss需要和setting.xml里面server节点配置的id一致-->
  251. <snapshotRepository>
  252. <id>oss</id>
  253. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  254. </snapshotRepository>
  255. <repository>
  256. <id>oss</id>
  257. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  258. </repository>
  259. </distributionManagement>
  260. </profile>
  261. </profiles>
  262. </project>