pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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>4.0.1</version>
  8. <packaging>pom</packaging>
  9. <name>blade-tool</name>
  10. <properties>
  11. <blade.tool.version>4.0.1</blade.tool.version>
  12. <java.version>1.8</java.version>
  13. <maven.plugin.version>3.8.1</maven.plugin.version>
  14. <knife4j.version>4.1.0</knife4j.version>
  15. <mybatis.version>3.5.13</mybatis.version>
  16. <mybatis.plus.version>3.5.3.2</mybatis.plus.version>
  17. <mybatis.plus.generator.version>3.5.3.2</mybatis.plus.generator.version>
  18. <protostuff.version>1.6.0</protostuff.version>
  19. <disruptor.version>3.4.2</disruptor.version>
  20. <guava.version>31.1-jre</guava.version>
  21. <mica.auto.version>2.3.2</mica.auto.version>
  22. <alibaba.cloud.version>2021.0.5.0</alibaba.cloud.version>
  23. <alibaba.nacos.version>2.1.2</alibaba.nacos.version>
  24. <spring.version>5.3.29</spring.version>
  25. <spring.boot.version>2.7.15</spring.boot.version>
  26. <spring.boot.admin.version>2.7.10</spring.boot.admin.version>
  27. <spring.cloud.version>2021.0.8</spring.cloud.version>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  30. <xxljob.version>2.4.0</xxljob.version>
  31. </properties>
  32. <modules>
  33. <module>blade-core-boot</module>
  34. <module>blade-core-cloud</module>
  35. <module>blade-core-develop</module>
  36. <module>blade-core-launch</module>
  37. <module>blade-core-loadbalancer</module>
  38. <module>blade-core-log</module>
  39. <module>blade-core-mybatis</module>
  40. <module>blade-core-secure</module>
  41. <module>blade-core-social</module>
  42. <module>blade-core-swagger</module>
  43. <module>blade-core-test</module>
  44. <module>blade-core-tool</module>
  45. <module>blade-core-oss</module>
  46. <module>blade-core-transaction</module>
  47. <module>blade-core-report</module>
  48. <module>blade-core-datascope</module>
  49. <module>blade-core-crypto</module>
  50. <module>blade-core-sms</module>
  51. <module>blade-core-redis</module>
  52. <module>blade-core-job</module>
  53. </modules>
  54. <dependencyManagement>
  55. <dependencies>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-framework-bom</artifactId>
  59. <version>${spring.version}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-dependencies</artifactId>
  66. <version>${spring.boot.version}</version>
  67. <type>pom</type>
  68. <scope>import</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-dependencies</artifactId>
  73. <version>${spring.cloud.version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba.cloud</groupId>
  79. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  80. <version>${alibaba.cloud.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.github.xiaoymin</groupId>
  86. <artifactId>knife4j-dependencies</artifactId>
  87. <version>${knife4j.version}</version>
  88. <type>pom</type>
  89. <scope>import</scope>
  90. </dependency>
  91. </dependencies>
  92. </dependencyManagement>
  93. <dependencies>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-aop</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  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.retry</groupId>
  114. <artifactId>spring-retry</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.projectlombok</groupId>
  118. <artifactId>lombok</artifactId>
  119. <scope>provided</scope>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.hibernate.validator</groupId>
  123. <artifactId>hibernate-validator</artifactId>
  124. <version>6.2.0.Final</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>net.dreamlu</groupId>
  128. <artifactId>mica-auto</artifactId>
  129. <version>${mica.auto.version}</version>
  130. <scope>provided</scope>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <finalName>${project.name}</finalName>
  135. <resources>
  136. <resource>
  137. <directory>src/main/resources</directory>
  138. </resource>
  139. <resource>
  140. <directory>src/main/java</directory>
  141. <includes>
  142. <include>**/*.xml</include>
  143. </includes>
  144. </resource>
  145. </resources>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.apache.maven.plugins</groupId>
  149. <artifactId>maven-compiler-plugin</artifactId>
  150. <version>${maven.plugin.version}</version>
  151. <configuration>
  152. <source>${java.version}</source>
  153. <target>${java.version}</target>
  154. <encoding>UTF-8</encoding>
  155. <compilerArgs>
  156. <arg>-parameters</arg>
  157. </compilerArgs>
  158. </configuration>
  159. </plugin>
  160. <plugin>
  161. <groupId>org.apache.maven.plugins</groupId>
  162. <artifactId>maven-javadoc-plugin</artifactId>
  163. <version>2.9.1</version>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-surefire-plugin</artifactId>
  168. <version>2.18.1</version>
  169. <configuration>
  170. <skipTests>true</skipTests>
  171. </configuration>
  172. </plugin>
  173. </plugins>
  174. </build>
  175. <repositories>
  176. <repository>
  177. <id>zzyd-repos</id>
  178. <url>http://nexus.gzzzyd.com/repository/zzyd-blade/</url>
  179. <snapshots>
  180. <enabled>false</enabled>
  181. </snapshots>
  182. </repository>
  183. <repository>
  184. <id>aliyun-repos</id>
  185. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  186. <snapshots>
  187. <enabled>false</enabled>
  188. </snapshots>
  189. </repository>
  190. </repositories>
  191. <pluginRepositories>
  192. <pluginRepository>
  193. <id>aliyun-plugin</id>
  194. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  195. <snapshots>
  196. <enabled>false</enabled>
  197. </snapshots>
  198. </pluginRepository>
  199. </pluginRepositories>
  200. <distributionManagement>
  201. <!-- <snapshotRepository>-->
  202. <!-- <id>oss</id>-->
  203. <!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
  204. <!-- </snapshotRepository>-->
  205. <repository>
  206. <id>zzyd-nexus</id>
  207. <url>http://nexus.gzzzyd.com/repository/zzyd-blade/</url>
  208. </repository>
  209. </distributionManagement>
  210. <profiles>
  211. <profile>
  212. <id>release</id>
  213. <build>
  214. <plugins>
  215. <!-- Source -->
  216. <plugin>
  217. <groupId>org.apache.maven.plugins</groupId>
  218. <artifactId>maven-source-plugin</artifactId>
  219. <version>2.2.1</version>
  220. <executions>
  221. <execution>
  222. <phase>package</phase>
  223. <goals>
  224. <goal>jar-no-fork</goal>
  225. </goals>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. <!-- Javadoc -->
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-javadoc-plugin</artifactId>
  233. <version>2.10.1</version>
  234. <executions>
  235. <execution>
  236. <phase>package</phase>
  237. <goals>
  238. <goal>jar</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. </plugin>
  243. <!-- &lt;!&ndash; GPG &ndash;&gt;-->
  244. <!-- <plugin>-->
  245. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  246. <!-- <artifactId>maven-gpg-plugin</artifactId>-->
  247. <!-- <version>1.6</version>-->
  248. <!-- <executions>-->
  249. <!-- <execution>-->
  250. <!-- <phase>verify</phase>-->
  251. <!-- <goals>-->
  252. <!-- <goal>sign</goal>-->
  253. <!-- </goals>-->
  254. <!-- </execution>-->
  255. <!-- </executions>-->
  256. <!-- </plugin>-->
  257. <!-- Nexus -->
  258. <!--<plugin>
  259. <groupId>org.sonatype.plugins</groupId>
  260. <artifactId>nexus-staging-maven-plugin</artifactId>
  261. <version>1.6.8</version>
  262. <extensions>true</extensions>
  263. <configuration>
  264. <serverId>oss</serverId>
  265. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  266. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  267. </configuration>
  268. </plugin>-->
  269. </plugins>
  270. </build>
  271. <!-- <distributionManagement>-->
  272. <!-- &lt;!&ndash; 这里的id oss需要和setting.xml里面server节点配置的id一致&ndash;&gt;-->
  273. <!-- <snapshotRepository>-->
  274. <!-- <id>oss</id>-->
  275. <!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
  276. <!-- </snapshotRepository>-->
  277. <!-- <repository>-->
  278. <!-- <id>oss</id>-->
  279. <!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
  280. <!-- </repository>-->
  281. <!-- </distributionManagement>-->
  282. </profile>
  283. </profiles>
  284. </project>