pom.xml 12 KB

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