pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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>1.0.0-RC5</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>1.0.0-RC5</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.8.8</swagger.bootstrapui.version>
  43. <mybatis.plus.version>3.0.7.1</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.0.2</spring.boot.admin.version>
  48. <mica.auto.version>0.0.1</mica.auto.version>
  49. <spring.boot.version>2.0.7.RELEASE</spring.boot.version>
  50. <spring.cloud.version>Finchley.SR2</spring.cloud.version>
  51. <spring.platform.version>Cairo-RELEASE</spring.platform.version>
  52. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  53. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  54. </properties>
  55. <modules>
  56. <module>blade-core-boot</module>
  57. <module>blade-core-launch</module>
  58. <module>blade-core-secure</module>
  59. <module>blade-core-tool</module>
  60. <module>blade-core-log</module>
  61. <module>blade-core-mybatis</module>
  62. <module>blade-core-swagger</module>
  63. </modules>
  64. <dependencyManagement>
  65. <dependencies>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-dependencies</artifactId>
  69. <version>${spring.boot.version}</version>
  70. <type>pom</type>
  71. <scope>import</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework.cloud</groupId>
  75. <artifactId>spring-cloud-dependencies</artifactId>
  76. <version>${spring.cloud.version}</version>
  77. <type>pom</type>
  78. <scope>import</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>io.spring.platform</groupId>
  82. <artifactId>platform-bom</artifactId>
  83. <version>${spring.platform.version}</version>
  84. <type>pom</type>
  85. <scope>import</scope>
  86. </dependency>
  87. </dependencies>
  88. </dependencyManagement>
  89. <dependencies>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-aop</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-test</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>de.codecentric</groupId>
  101. <artifactId>spring-boot-admin-starter-client</artifactId>
  102. <version>${spring.boot.admin.version}</version>
  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.cloud</groupId>
  115. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  116. <exclusions>
  117. <exclusion>
  118. <groupId>commons-logging</groupId>
  119. <artifactId>commons-logging</artifactId>
  120. </exclusion>
  121. </exclusions>
  122. </dependency>
  123. <!--<dependency>
  124. <groupId>org.springframework.cloud</groupId>
  125. <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
  126. </dependency>-->
  127. <dependency>
  128. <groupId>org.springframework.cloud</groupId>
  129. <artifactId>spring-cloud-starter-consul-discovery</artifactId>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework.retry</groupId>
  133. <artifactId>spring-retry</artifactId>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-devtools</artifactId>
  138. <optional>true</optional>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.projectlombok</groupId>
  142. <artifactId>lombok</artifactId>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>net.dreamlu</groupId>
  147. <artifactId>mica-auto</artifactId>
  148. <version>${mica.auto.version}</version>
  149. </dependency>
  150. <!--<dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-context-indexer</artifactId>
  153. <optional>true</optional>
  154. </dependency>-->
  155. </dependencies>
  156. <build>
  157. <finalName>${project.name}</finalName>
  158. <resources>
  159. <resource>
  160. <directory>src/main/resources</directory>
  161. </resource>
  162. <resource>
  163. <directory>src/main/java</directory>
  164. <includes>
  165. <include>**/*.xml</include>
  166. </includes>
  167. </resource>
  168. </resources>
  169. <plugins>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-compiler-plugin</artifactId>
  173. <version>${maven.plugin.version}</version>
  174. <configuration>
  175. <source>${java.version}</source>
  176. <target>${java.version}</target>
  177. <encoding>UTF-8</encoding>
  178. <compilerArgs>
  179. <arg>-parameters</arg>
  180. </compilerArgs>
  181. </configuration>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-javadoc-plugin</artifactId>
  186. <version>2.9.1</version>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-surefire-plugin</artifactId>
  191. <version>2.18.1</version>
  192. <configuration>
  193. <skipTests>true</skipTests>
  194. </configuration>
  195. </plugin>
  196. </plugins>
  197. </build>
  198. <repositories>
  199. <repository>
  200. <id>aliyun-repos</id>
  201. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  202. <snapshots>
  203. <enabled>false</enabled>
  204. </snapshots>
  205. </repository>
  206. </repositories>
  207. <pluginRepositories>
  208. <pluginRepository>
  209. <id>aliyun-plugin</id>
  210. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  211. <snapshots>
  212. <enabled>false</enabled>
  213. </snapshots>
  214. </pluginRepository>
  215. </pluginRepositories>
  216. <distributionManagement>
  217. <snapshotRepository>
  218. <id>oss</id>
  219. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  220. </snapshotRepository>
  221. <repository>
  222. <id>oss</id>
  223. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  224. </repository>
  225. </distributionManagement>
  226. <profiles>
  227. <profile>
  228. <id>release</id>
  229. <build>
  230. <plugins>
  231. <!-- Source -->
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-source-plugin</artifactId>
  235. <version>2.2.1</version>
  236. <executions>
  237. <execution>
  238. <phase>package</phase>
  239. <goals>
  240. <goal>jar-no-fork</goal>
  241. </goals>
  242. </execution>
  243. </executions>
  244. </plugin>
  245. <!-- Javadoc -->
  246. <plugin>
  247. <groupId>org.apache.maven.plugins</groupId>
  248. <artifactId>maven-javadoc-plugin</artifactId>
  249. <version>2.10.1</version>
  250. <executions>
  251. <execution>
  252. <phase>package</phase>
  253. <goals>
  254. <goal>jar</goal>
  255. </goals>
  256. </execution>
  257. </executions>
  258. </plugin>
  259. <!-- GPG -->
  260. <plugin>
  261. <groupId>org.apache.maven.plugins</groupId>
  262. <artifactId>maven-gpg-plugin</artifactId>
  263. <version>1.6</version>
  264. <executions>
  265. <execution>
  266. <phase>verify</phase>
  267. <goals>
  268. <goal>sign</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. <distributionManagement>
  276. <!-- 这里的id oss需要和setting.xml里面server节点配置的id一致-->
  277. <snapshotRepository>
  278. <id>oss</id>
  279. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  280. </snapshotRepository>
  281. <repository>
  282. <id>oss</id>
  283. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  284. </repository>
  285. </distributionManagement>
  286. </profile>
  287. </profiles>
  288. </project>