pom.xml 11 KB

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