pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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>BladeX</artifactId>
  7. <version>2.0.0.RC6</version>
  8. <packaging>pom</packaging>
  9. <properties>
  10. <bladex.tool.version>2.0.0.RC6</bladex.tool.version>
  11. <bladex.project.version>2.0.0.RC6</bladex.project.version>
  12. <java.version>1.8</java.version>
  13. <swagger.version>2.9.2</swagger.version>
  14. <swagger.models.version>1.5.21</swagger.models.version>
  15. <swagger.bootstrapui.version>1.9.1</swagger.bootstrapui.version>
  16. <mybatis.plus.version>3.1.0</mybatis.plus.version>
  17. <curator.framework.version>4.0.1</curator.framework.version>
  18. <protostuff.version>1.6.0</protostuff.version>
  19. <alibaba.cloud.version>0.2.1.RELEASE</alibaba.cloud.version>
  20. <spring.boot.admin.version>2.1.2</spring.boot.admin.version>
  21. <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
  22. <spring.cloud.version>Greenwich.RELEASE</spring.cloud.version>
  23. <spring.platform.version>Cairo-SR7</spring.platform.version>
  24. <!-- 推荐使用Harbor -->
  25. <docker.registry.url>10.211.55.5</docker.registry.url>
  26. <docker.registry.host>http://${docker.registry.url}:2375</docker.registry.host>
  27. <docker.plugin.version>1.2.0</docker.plugin.version>
  28. </properties>
  29. <modules>
  30. <module>blade-auth</module>
  31. <module>blade-gateway</module>
  32. <module>blade-ops</module>
  33. <module>blade-service</module>
  34. <module>blade-service-api</module>
  35. <module>blade-common</module>
  36. </modules>
  37. <dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-dependencies</artifactId>
  42. <version>${spring.boot.version}</version>
  43. <type>pom</type>
  44. <scope>import</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-dependencies</artifactId>
  49. <version>${spring.cloud.version}</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.spring.platform</groupId>
  55. <artifactId>platform-bom</artifactId>
  56. <version>${spring.platform.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. </dependencies>
  61. </dependencyManagement>
  62. <dependencies>
  63. <dependency>
  64. <groupId>org.projectlombok</groupId>
  65. <artifactId>lombok</artifactId>
  66. <scope>provided</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-devtools</artifactId>
  71. <optional>true</optional>
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <finalName>${project.name}</finalName>
  76. <resources>
  77. <resource>
  78. <directory>src/main/resources</directory>
  79. </resource>
  80. <resource>
  81. <directory>src/main/java</directory>
  82. <includes>
  83. <include>**/*.xml</include>
  84. </includes>
  85. </resource>
  86. </resources>
  87. <pluginManagement>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <version>${spring.boot.version}</version>
  93. <configuration>
  94. <finalName>${project.build.finalName}</finalName>
  95. </configuration>
  96. <executions>
  97. <execution>
  98. <goals>
  99. <goal>repackage</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </pluginManagement>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-maven-plugin</artifactId>
  110. </plugin>
  111. <plugin>
  112. <artifactId>maven-compiler-plugin</artifactId>
  113. <configuration>
  114. <source>${java.version}</source>
  115. <target>${java.version}</target>
  116. <encoding>UTF-8</encoding>
  117. <compilerArgs>
  118. <arg>-parameters</arg>
  119. </compilerArgs>
  120. </configuration>
  121. </plugin>
  122. </plugins>
  123. </build>
  124. <repositories>
  125. <repository>
  126. <id>aliyun-repos</id>
  127. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  128. <snapshots>
  129. <enabled>false</enabled>
  130. </snapshots>
  131. </repository>
  132. <repository>
  133. <id>release</id>
  134. <name>Release Repository</name>
  135. <url>http://nexus.gitee.ltd/repository/maven-releases/</url>
  136. </repository>
  137. </repositories>
  138. <pluginRepositories>
  139. <pluginRepository>
  140. <id>aliyun-plugin</id>
  141. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  142. <snapshots>
  143. <enabled>false</enabled>
  144. </snapshots>
  145. </pluginRepository>
  146. </pluginRepositories>
  147. </project>