pom.xml 10 KB

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