pom.xml 12 KB

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