pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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.341</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. <!--拷贝资源文件 copy-resources-->
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-resources-plugin</artifactId>
  143. <version>${maven-resources-plugin.version}</version>
  144. <executions>
  145. <execution>
  146. <id>copy-resources</id>
  147. <phase>package</phase>
  148. <goals>
  149. <goal>copy-resources</goal>
  150. </goals>
  151. <configuration>
  152. <resources>
  153. <resource>
  154. <directory>src/main/resources/</directory>
  155. <includes>
  156. <include>*.properties</include>
  157. <include>*.yml</include>
  158. <include>*.conf</include>
  159. <include>*.xml</include>
  160. </includes>
  161. </resource>
  162. </resources>
  163. <outputDirectory>${project.build.directory}/config</outputDirectory>
  164. </configuration>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </project>