pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.springblade</groupId>
  7. <artifactId>SpringBlade</artifactId>
  8. <packaging>jar</packaging>
  9. <version>4.0.1</version>
  10. <properties>
  11. <blade.tool.version>4.0.1</blade.tool.version>
  12. <java.version>1.8</java.version>
  13. <knife4j.version>4.1.0</knife4j.version>
  14. <protostuff.version>1.6.0</protostuff.version>
  15. <captcha.version>1.6.2</captcha.version>
  16. <easyexcel.version>2.2.11</easyexcel.version>
  17. <spring.version>5.3.29</spring.version>
  18. <spring.boot.version>2.7.15</spring.boot.version>
  19. <!-- 推荐使用Harbor -->
  20. <docker.registry.url>192.168.186.129</docker.registry.url>
  21. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  22. <docker.plugin.version>1.2.0</docker.plugin.version>
  23. </properties>
  24. <dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework</groupId>
  28. <artifactId>spring-framework-bom</artifactId>
  29. <version>${spring.version}</version>
  30. <type>pom</type>
  31. <scope>import</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-dependencies</artifactId>
  36. <version>${spring.boot.version}</version>
  37. <type>pom</type>
  38. <scope>import</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.github.xiaoymin</groupId>
  42. <artifactId>knife4j-dependencies</artifactId>
  43. <version>${knife4j.version}</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. </dependencies>
  48. </dependencyManagement>
  49. <dependencies>
  50. <dependency>
  51. <groupId>org.springblade</groupId>
  52. <artifactId>blade-core-boot</artifactId>
  53. <version>${blade.tool.version}</version>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springblade</groupId>
  57. <artifactId>blade-core-cloud</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springblade</groupId>
  63. <artifactId>blade-core-develop</artifactId>
  64. <version>${blade.tool.version}</version>
  65. </dependency>
  66. <!-- 存储 -->
  67. <dependency>
  68. <groupId>org.springblade</groupId>
  69. <artifactId>blade-core-oss</artifactId>
  70. <version>${blade.tool.version}</version>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>com.squareup.okio</groupId>
  74. <artifactId>okio</artifactId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <!-- 短信 -->
  79. <dependency>
  80. <groupId>org.springblade</groupId>
  81. <artifactId>blade-core-sms</artifactId>
  82. <version>${blade.tool.version}</version>
  83. </dependency>
  84. <!-- xxljob 定时任务 -->
  85. <dependency>
  86. <groupId>org.springblade</groupId>
  87. <artifactId>blade-core-job</artifactId>
  88. <version>${blade.tool.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springblade</groupId>
  92. <artifactId>blade-core-report</artifactId>
  93. <version>${blade.tool.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springblade</groupId>
  97. <artifactId>blade-core-social</artifactId>
  98. <version>${blade.tool.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springblade</groupId>
  102. <artifactId>blade-core-datascope</artifactId>
  103. <version>${blade.tool.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.github.xiaoymin</groupId>
  107. <artifactId>knife4j-openapi2-ui</artifactId>
  108. <version>${knife4j.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.github.whvcse</groupId>
  112. <artifactId>easy-captcha</artifactId>
  113. <version>${captcha.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.alibaba</groupId>
  117. <artifactId>easyexcel</artifactId>
  118. <version>${easyexcel.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.projectlombok</groupId>
  122. <artifactId>lombok</artifactId>
  123. <scope>provided</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.springblade</groupId>
  127. <artifactId>blade-core-test</artifactId>
  128. <version>${blade.tool.version}</version>
  129. <scope>test</scope>
  130. </dependency>
  131. </dependencies>
  132. <build>
  133. <finalName>SpringBlade</finalName>
  134. <resources>
  135. <resource>
  136. <directory>src/main/resources</directory>
  137. </resource>
  138. <resource>
  139. <directory>src/main/java</directory>
  140. <includes>
  141. <include>**/*.xml</include>
  142. </includes>
  143. </resource>
  144. </resources>
  145. <pluginManagement>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-maven-plugin</artifactId>
  150. <version>${spring.boot.version}</version>
  151. <configuration>
  152. <finalName>${project.build.finalName}</finalName>
  153. </configuration>
  154. <executions>
  155. <execution>
  156. <goals>
  157. <goal>repackage</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <plugin>
  163. <groupId>com.spotify</groupId>
  164. <artifactId>docker-maven-plugin</artifactId>
  165. <version>${docker.plugin.version}</version>
  166. <configuration>
  167. <imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName>
  168. <dockerDirectory>${project.basedir}</dockerDirectory>
  169. <dockerHost>${docker.registry.host}</dockerHost>
  170. <resources>
  171. <resource>
  172. <targetPath>/</targetPath>
  173. <directory>${project.build.directory}</directory>
  174. <include>${project.build.finalName}.jar</include>
  175. </resource>
  176. </resources>
  177. <registryUrl>${docker.registry.url}</registryUrl>
  178. <serverId>${docker.registry.url}</serverId>
  179. <pushImage>true</pushImage>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </pluginManagement>
  184. <plugins>
  185. <plugin>
  186. <groupId>org.springframework.boot</groupId>
  187. <artifactId>spring-boot-maven-plugin</artifactId>
  188. </plugin>
  189. <plugin>
  190. <artifactId>maven-compiler-plugin</artifactId>
  191. <configuration>
  192. <source>${java.version}</source>
  193. <target>${java.version}</target>
  194. <encoding>UTF-8</encoding>
  195. <compilerArgs>
  196. <arg>-parameters</arg>
  197. </compilerArgs>
  198. </configuration>
  199. </plugin>
  200. </plugins>
  201. </build>
  202. <repositories>
  203. <repository>
  204. <id>zzyd-repos</id>
  205. <url>http://nexus.gzzzyd.com/repository/zzyd-blade/</url>
  206. <snapshots>
  207. <enabled>false</enabled>
  208. </snapshots>
  209. </repository>
  210. <repository>
  211. <id>aliyun-repos</id>
  212. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  213. <snapshots>
  214. <enabled>false</enabled>
  215. </snapshots>
  216. </repository>
  217. </repositories>
  218. <pluginRepositories>
  219. <pluginRepository>
  220. <id>aliyun-plugin</id>
  221. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  222. <snapshots>
  223. <enabled>false</enabled>
  224. </snapshots>
  225. </pluginRepository>
  226. </pluginRepositories>
  227. </project>