123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.3.12.RELEASE</version>
- <relativePath/>
- </parent>
- <groupId>com.sagacloud</groupId>
- <artifactId>compute-engine</artifactId>
- <version>2.3.3.342</version>
- <packaging>jar</packaging>
- <name>compute-engine</name>
- <properties>
- <!-- Maven 相关 -->
- <java.version>1.8</java.version>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
- <jaxen.version>1.2.0</jaxen.version>
- <dom4j.version>2.1.3</dom4j.version>
- <lombok.version>1.18.22</lombok.version>
- <mapstruct.version>1.4.1.Final</mapstruct.version>
- <hutool.version>5.7.19</hutool.version>
- <antlr.runtime.version>3.1</antlr.runtime.version>
- <zillion.util.version>2.3.3.342</zillion.util.version>
- <fastjson.version>1.2.83</fastjson.version>
- <!--日志框架有安全漏洞,升级最新版本-->
- <logback.version>1.2.9</logback.version>
- <log4j2.version>2.17.0</log4j2.version>
- <log4j.version>1.3.8.RELEASE</log4j.version>
- <xstream.version>1.4.18</xstream.version>
- <easyexcel.version>3.0.5</easyexcel.version>
- <!-- Maven Plugin Versions -->
- <spring-boot-maven-plugin.version>2.3.12.RELEASE</spring-boot-maven-plugin.version>
- <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
- <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
- <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
- <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
- <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
- <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
- </properties>
- <dependencies>
- <!-- Web 相关 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>${dom4j.version}</version>
- </dependency>
- <dependency>
- <groupId>jaxen</groupId>
- <artifactId>jaxen</artifactId>
- <version>${jaxen.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>${hutool.version}</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr-runtime</artifactId>
- <version>${antlr.runtime.version}</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <!-- <dependency>-->
- <!-- <groupId>org.reflections</groupId>-->
- <!-- <artifactId>reflections</artifactId>-->
- <!-- <version>0.9.10</version>-->
- <!-- </dependency>-->
- <dependency>
- <groupId>com.sagacloud</groupId>
- <artifactId>zillion-util</artifactId>
- <version>${zillion.util.version}</version>
- <exclusions>
- <exclusion>
- <artifactId>fastjson</artifactId>
- <groupId>com.alibaba</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- <distributionManagement>
- <repository>
- <id>SagaCloudRelease</id>
- <name>User Project Release</name>
- <url>http://47.93.33.207:8082/repository/SagaCloudRelease/</url>
- </repository>
- <snapshotRepository>
- <id>SagaCloudRelease</id>
- <name>User Project SNAPSHOTS</name>
- <url>http://47.93.33.207:8082/repository/SagaCloudSnapshot/</url>
- </snapshotRepository>
- </distributionManagement>
- <repositories>
- <repository>
- <id>SagaCloud</id>
- <name>SagaCloud</name>
- <url>http://47.93.33.207:8082/repository/SagaCloud/</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- <releases>
- <enabled>true</enabled>
- </releases>
- </repository>
- <repository>
- <id>alimaven</id>
- <name>aliyun maven</name>
- <url>http://maven.aliyun.com/nexus/content/groups/public</url>
- </repository>
- </repositories>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot.version}</version>
- </plugin>
- <!-- 是否生成源码包,目前临时去掉,因为kenkins复制jar包的地方需要调整-->
- <!-- <plugin>-->
- <!-- <groupId>org.apache.maven.plugins</groupId>-->
- <!-- <artifactId>maven-source-plugin</artifactId>-->
- <!-- <version>${maven-source-plugin.version}</version>-->
- <!-- <configuration>-->
- <!-- <attach>true</attach>-->
- <!-- </configuration>-->
- <!-- <executions>-->
- <!-- <execution>-->
- <!-- <phase>compile</phase>-->
- <!-- <goals>-->
- <!-- <goal>jar</goal>-->
- <!-- </goals>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- </plugin>-->
- <!--拷贝资源文件 copy-resources-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${maven-resources-plugin.version}</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>src/main/resources/</directory>
- <includes>
- <include>*.properties</include>
- <include>*.yml</include>
- <include>*.conf</include>
- <include>*.xml</include>
- </includes>
- </resource>
- </resources>
- <outputDirectory>${project.build.directory}/config</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
|