pom.xml 11 KB

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