pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_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.util</groupId>
  11. <artifactId>compute-engine-webapp</artifactId>
  12. <packaging>jar</packaging>
  13. <version>2.3.3.341</version>
  14. <name>compute-engine-webapp</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. <compute-engine.version>2.3.3.342</compute-engine.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.sagacloud</groupId>
  84. <artifactId>zillion-util</artifactId>
  85. <version>${zillion.util.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.cxf</groupId>
  89. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  90. <version>2.7.18</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.cxf</groupId>
  94. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  95. <version>2.7.18</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.cxf</groupId>
  99. <artifactId>cxf-rt-rs-extension-providers</artifactId>
  100. <version>2.7.18</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.cxf</groupId>
  104. <artifactId>cxf-rt-databinding-aegis</artifactId>
  105. <version>2.7.18</version>
  106. </dependency>
  107. </dependencies>
  108. <repositories>
  109. <repository>
  110. <id>SagaCloud</id>
  111. <name>SagaCloud</name>
  112. <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
  113. <snapshots>
  114. <enabled>true</enabled>
  115. </snapshots>
  116. <releases>
  117. <enabled>true</enabled>
  118. </releases>
  119. </repository>
  120. <repository>
  121. <id>alimaven</id>
  122. <name>aliyun maven</name>
  123. <url>https://maven.aliyun.com/repository/public</url>
  124. </repository>
  125. </repositories>
  126. <distributionManagement>
  127. <repository>
  128. <id>SagaCloudRelease</id>
  129. <name>User Project Release</name>
  130. <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
  131. </repository>
  132. <snapshotRepository>
  133. <id>SagaCloudRelease</id>
  134. <name>User Project SNAPSHOTS</name>
  135. <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
  136. </snapshotRepository>
  137. </distributionManagement>
  138. <build>
  139. <finalName>${project.artifactId}</finalName>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-compiler-plugin</artifactId>
  144. <version>3.8.1</version>
  145. <configuration>
  146. <source>1.8</source>
  147. <target>1.8</target>
  148. <encoding>UTF-8</encoding>
  149. </configuration>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-maven-plugin</artifactId>
  154. <version>${spring-boot.version}</version>
  155. </plugin>
  156. <!-- <plugin>-->
  157. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  158. <!-- <artifactId>maven-source-plugin</artifactId>-->
  159. <!-- <version>${maven-source-plugin.version}</version>-->
  160. <!-- <configuration>-->
  161. <!-- <attach>true</attach>-->
  162. <!-- </configuration>-->
  163. <!-- <executions>-->
  164. <!-- <execution>-->
  165. <!-- <phase>compile</phase>-->
  166. <!-- <goals>-->
  167. <!-- <goal>jar</goal>-->
  168. <!-- </goals>-->
  169. <!-- </execution>-->
  170. <!-- </executions>-->
  171. <!-- </plugin>-->
  172. <!--拷贝资源文件 copy-resources-->
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-resources-plugin</artifactId>
  176. <version>${maven-resources-plugin.version}</version>
  177. <executions>
  178. <execution>
  179. <id>copy-resources</id>
  180. <phase>package</phase>
  181. <goals>
  182. <goal>copy-resources</goal>
  183. </goals>
  184. <configuration>
  185. <resources>
  186. <resource>
  187. <directory>src/main/resources/</directory>
  188. <includes>
  189. <include>*.properties</include>
  190. <include>*.yml</include>
  191. <include>*.conf</include>
  192. <include>*.xml</include>
  193. </includes>
  194. </resource>
  195. </resources>
  196. <outputDirectory>${project.build.directory}/config</outputDirectory>
  197. </configuration>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. </project>