pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.3.12.RELEASE</version>
  8. <relativePath/>
  9. </parent>
  10. <groupId>com.sagacloud</groupId>
  11. <artifactId>compute-engine</artifactId>
  12. <version>2.3.3.342</version>
  13. <packaging>jar</packaging>
  14. <name>compute-engine</name>
  15. <properties>
  16. <!-- Maven 相关 -->
  17. <java.version>1.8</java.version>
  18. <maven.compiler.source>${java.version}</maven.compiler.source>
  19. <maven.compiler.target>${java.version}</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
  23. <jaxen.version>1.2.0</jaxen.version>
  24. <dom4j.version>2.1.3</dom4j.version>
  25. <lombok.version>1.18.22</lombok.version>
  26. <mapstruct.version>1.4.1.Final</mapstruct.version>
  27. <hutool.version>5.7.19</hutool.version>
  28. <antlr.runtime.version>3.1</antlr.runtime.version>
  29. <zillion.util.version>2.3.3.341</zillion.util.version>
  30. <!--日志框架有安全漏洞,升级最新版本-->
  31. <logback.version>1.2.9</logback.version>
  32. <log4j2.version>2.17.0</log4j2.version>
  33. <log4j.version>1.3.8.RELEASE</log4j.version>
  34. <xstream.version>1.4.18</xstream.version>
  35. <easyexcel.version>3.0.5</easyexcel.version>
  36. <!-- Maven Plugin Versions -->
  37. <spring-boot-maven-plugin.version>2.3.12.RELEASE</spring-boot-maven-plugin.version>
  38. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  39. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  40. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  41. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  42. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  43. <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
  44. </properties>
  45. <dependencies>
  46. <!-- Web 相关 -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.dom4j</groupId>
  53. <artifactId>dom4j</artifactId>
  54. <version>${dom4j.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>jaxen</groupId>
  58. <artifactId>jaxen</artifactId>
  59. <version>${jaxen.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>cn.hutool</groupId>
  63. <artifactId>hutool-all</artifactId>
  64. <version>${hutool.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.antlr</groupId>
  68. <artifactId>antlr-runtime</artifactId>
  69. <version>${antlr.runtime.version}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.projectlombok</groupId>
  73. <artifactId>lombok</artifactId>
  74. <version>${lombok.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-starter-log4j</artifactId>
  79. <version>${log4j.version}</version>
  80. </dependency>
  81. <!-- <dependency>-->
  82. <!-- <groupId>org.reflections</groupId>-->
  83. <!-- <artifactId>reflections</artifactId>-->
  84. <!-- <version>0.9.10</version>-->
  85. <!-- </dependency>-->
  86. <dependency>
  87. <groupId>com.sagacloud</groupId>
  88. <artifactId>zillion-util</artifactId>
  89. <version>${zillion.util.version}</version>
  90. </dependency>
  91. </dependencies>
  92. <distributionManagement>
  93. <repository>
  94. <id>SagaCloudRelease</id>
  95. <name>User Project Release</name>
  96. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  97. </repository>
  98. <snapshotRepository>
  99. <id>SagaCloudRelease</id>
  100. <name>User Project SNAPSHOTS</name>
  101. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  102. </snapshotRepository>
  103. </distributionManagement>
  104. <repositories>
  105. <repository>
  106. <id>SagaCloud</id>
  107. <name>SagaCloud</name>
  108. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  109. <snapshots>
  110. <enabled>true</enabled>
  111. </snapshots>
  112. <releases>
  113. <enabled>true</enabled>
  114. </releases>
  115. </repository>
  116. <repository>
  117. <id>alimaven</id>
  118. <name>aliyun maven</name>
  119. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  120. </repository>
  121. </repositories>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-compiler-plugin</artifactId>
  127. <version>3.8.1</version>
  128. <configuration>
  129. <source>1.8</source>
  130. <target>1.8</target>
  131. <encoding>UTF-8</encoding>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <version>${spring-boot.version}</version>
  138. </plugin>
  139. <!-- 是否生成源码包,目前临时去掉,因为kenkins复制jar包的地方需要调整-->
  140. <!-- <plugin>-->
  141. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  142. <!-- <artifactId>maven-source-plugin</artifactId>-->
  143. <!-- <version>${maven-source-plugin.version}</version>-->
  144. <!-- <configuration>-->
  145. <!-- <attach>true</attach>-->
  146. <!-- </configuration>-->
  147. <!-- <executions>-->
  148. <!-- <execution>-->
  149. <!-- <phase>compile</phase>-->
  150. <!-- <goals>-->
  151. <!-- <goal>jar</goal>-->
  152. <!-- </goals>-->
  153. <!-- </execution>-->
  154. <!-- </executions>-->
  155. <!-- </plugin>-->
  156. <!--拷贝资源文件 copy-resources-->
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-resources-plugin</artifactId>
  160. <version>${maven-resources-plugin.version}</version>
  161. <executions>
  162. <execution>
  163. <id>copy-resources</id>
  164. <phase>package</phase>
  165. <goals>
  166. <goal>copy-resources</goal>
  167. </goals>
  168. <configuration>
  169. <resources>
  170. <resource>
  171. <directory>src/main/resources/</directory>
  172. <includes>
  173. <include>*.properties</include>
  174. <include>*.yml</include>
  175. <include>*.conf</include>
  176. <include>*.xml</include>
  177. </includes>
  178. </resource>
  179. </resources>
  180. <outputDirectory>${project.build.directory}/config</outputDirectory>
  181. </configuration>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. </plugins>
  186. </build>
  187. </project>