pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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.342</zillion.util.version>
  30. <fastjson.version>1.2.83</fastjson.version>
  31. <!--日志框架有安全漏洞,升级最新版本-->
  32. <logback.version>1.2.9</logback.version>
  33. <log4j2.version>2.17.0</log4j2.version>
  34. <log4j.version>1.3.8.RELEASE</log4j.version>
  35. <xstream.version>1.4.18</xstream.version>
  36. <easyexcel.version>3.0.5</easyexcel.version>
  37. <!-- Maven Plugin Versions -->
  38. <spring-boot-maven-plugin.version>2.3.12.RELEASE</spring-boot-maven-plugin.version>
  39. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  40. <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
  41. <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
  42. <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
  43. <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
  44. <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
  45. </properties>
  46. <dependencies>
  47. <!-- Web 相关 -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.dom4j</groupId>
  54. <artifactId>dom4j</artifactId>
  55. <version>${dom4j.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>jaxen</groupId>
  59. <artifactId>jaxen</artifactId>
  60. <version>${jaxen.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>cn.hutool</groupId>
  64. <artifactId>hutool-all</artifactId>
  65. <version>${hutool.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.antlr</groupId>
  69. <artifactId>antlr-runtime</artifactId>
  70. <version>${antlr.runtime.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>${lombok.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-log4j</artifactId>
  80. <version>${log4j.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba</groupId>
  84. <artifactId>fastjson</artifactId>
  85. <version>${fastjson.version}</version>
  86. </dependency>
  87. <!-- <dependency>-->
  88. <!-- <groupId>org.reflections</groupId>-->
  89. <!-- <artifactId>reflections</artifactId>-->
  90. <!-- <version>0.9.10</version>-->
  91. <!-- </dependency>-->
  92. <dependency>
  93. <groupId>com.sagacloud</groupId>
  94. <artifactId>zillion-util</artifactId>
  95. <version>${zillion.util.version}</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>fastjson</artifactId>
  99. <groupId>com.alibaba</groupId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. </dependencies>
  104. <distributionManagement>
  105. <repository>
  106. <id>SagaCloudRelease</id>
  107. <name>User Project Release</name>
  108. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  109. </repository>
  110. <snapshotRepository>
  111. <id>SagaCloudRelease</id>
  112. <name>User Project SNAPSHOTS</name>
  113. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  114. </snapshotRepository>
  115. </distributionManagement>
  116. <repositories>
  117. <repository>
  118. <id>SagaCloud</id>
  119. <name>SagaCloud</name>
  120. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  121. <snapshots>
  122. <enabled>true</enabled>
  123. </snapshots>
  124. <releases>
  125. <enabled>true</enabled>
  126. </releases>
  127. </repository>
  128. <repository>
  129. <id>alimaven</id>
  130. <name>aliyun maven</name>
  131. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  132. </repository>
  133. </repositories>
  134. <build>
  135. <plugins>
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-compiler-plugin</artifactId>
  139. <version>3.8.1</version>
  140. <configuration>
  141. <source>1.8</source>
  142. <target>1.8</target>
  143. <encoding>UTF-8</encoding>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-maven-plugin</artifactId>
  149. <version>${spring-boot.version}</version>
  150. </plugin>
  151. <!-- 是否生成源码包,目前临时去掉,因为kenkins复制jar包的地方需要调整-->
  152. <!-- <plugin>-->
  153. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  154. <!-- <artifactId>maven-source-plugin</artifactId>-->
  155. <!-- <version>${maven-source-plugin.version}</version>-->
  156. <!-- <configuration>-->
  157. <!-- <attach>true</attach>-->
  158. <!-- </configuration>-->
  159. <!-- <executions>-->
  160. <!-- <execution>-->
  161. <!-- <phase>compile</phase>-->
  162. <!-- <goals>-->
  163. <!-- <goal>jar</goal>-->
  164. <!-- </goals>-->
  165. <!-- </execution>-->
  166. <!-- </executions>-->
  167. <!-- </plugin>-->
  168. <!--拷贝资源文件 copy-resources-->
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-resources-plugin</artifactId>
  172. <version>${maven-resources-plugin.version}</version>
  173. <executions>
  174. <execution>
  175. <id>copy-resources</id>
  176. <phase>package</phase>
  177. <goals>
  178. <goal>copy-resources</goal>
  179. </goals>
  180. <configuration>
  181. <resources>
  182. <resource>
  183. <directory>src/main/resources/</directory>
  184. <includes>
  185. <include>*.properties</include>
  186. <include>*.yml</include>
  187. <include>*.conf</include>
  188. <include>*.xml</include>
  189. </includes>
  190. </resource>
  191. </resources>
  192. <outputDirectory>${project.build.directory}/config</outputDirectory>
  193. </configuration>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>