pom.xml 11 KB

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