pom.xml 11 KB

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