pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. <xstream.version>1.4.18</xstream.version>
  34. <easyexcel.version>3.0.5</easyexcel.version>
  35. <!-- Maven Plugin Versions -->
  36. <spring-boot-maven-plugin.version>2.3.12.RELEASE</spring-boot-maven-plugin.version>
  37. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  38. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  39. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  40. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  41. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  42. <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
  43. </properties>
  44. <dependencies>
  45. <!-- Web 相关 -->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-web</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.dom4j</groupId>
  52. <artifactId>dom4j</artifactId>
  53. <version>${dom4j.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>jaxen</groupId>
  57. <artifactId>jaxen</artifactId>
  58. <version>${jaxen.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>cn.hutool</groupId>
  62. <artifactId>hutool-all</artifactId>
  63. <version>${hutool.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.antlr</groupId>
  67. <artifactId>antlr-runtime</artifactId>
  68. <version>${antlr.runtime.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.projectlombok</groupId>
  72. <artifactId>lombok</artifactId>
  73. <version>${lombok.version}</version>
  74. </dependency>
  75. <!-- <dependency>-->
  76. <!-- <groupId>org.reflections</groupId>-->
  77. <!-- <artifactId>reflections</artifactId>-->
  78. <!-- <version>0.9.10</version>-->
  79. <!-- </dependency>-->
  80. <dependency>
  81. <groupId>com.sagacloud</groupId>
  82. <artifactId>zillion-util</artifactId>
  83. <version>${zillion.util.version}</version>
  84. </dependency>
  85. </dependencies>
  86. <distributionManagement>
  87. <repository>
  88. <id>SagaCloudRelease</id>
  89. <name>User Project Release</name>
  90. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  91. </repository>
  92. <snapshotRepository>
  93. <id>SagaCloudRelease</id>
  94. <name>User Project SNAPSHOTS</name>
  95. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  96. </snapshotRepository>
  97. </distributionManagement>
  98. <repositories>
  99. <repository>
  100. <id>SagaCloud</id>
  101. <name>SagaCloud</name>
  102. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  103. <snapshots>
  104. <enabled>true</enabled>
  105. </snapshots>
  106. <releases>
  107. <enabled>true</enabled>
  108. </releases>
  109. </repository>
  110. <repository>
  111. <id>alimaven</id>
  112. <name>aliyun maven</name>
  113. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  114. </repository>
  115. </repositories>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-compiler-plugin</artifactId>
  121. <version>3.8.1</version>
  122. <configuration>
  123. <source>1.8</source>
  124. <target>1.8</target>
  125. <encoding>UTF-8</encoding>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-maven-plugin</artifactId>
  131. <version>${spring-boot.version}</version>
  132. </plugin>
  133. <!--拷贝资源文件 copy-resources-->
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-resources-plugin</artifactId>
  137. <version>${maven-resources-plugin.version}</version>
  138. <executions>
  139. <execution>
  140. <id>copy-resources</id>
  141. <phase>package</phase>
  142. <goals>
  143. <goal>copy-resources</goal>
  144. </goals>
  145. <configuration>
  146. <resources>
  147. <resource>
  148. <directory>src/main/resources/</directory>
  149. <includes>
  150. <include>*.properties</include>
  151. <include>*.yml</include>
  152. <include>*.conf</include>
  153. <include>*.xml</include>
  154. </includes>
  155. </resource>
  156. </resources>
  157. <outputDirectory>${project.build.directory}/config</outputDirectory>
  158. </configuration>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. </plugins>
  163. </build>
  164. </project>