155 lines
5.5 KiB
XML
155 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
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>
|
|
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-pay-service</artifactId>
|
|
<version>BETA</version>
|
|
<packaging>jar</packaging>
|
|
<description>支付服务</description>
|
|
|
|
<properties>
|
|
<apms.common.version>1.1.6</apms.common.version>
|
|
<pay.version>1.0.0</pay.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<spring-boot.version>2.3.6.RELEASE</spring-boot.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-common</artifactId>
|
|
<version>${apms.common.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-alipay</artifactId>
|
|
<version>${pay.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-common-core</artifactId>
|
|
</dependency>
|
|
<!--日志处理-->
|
|
<dependency>
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-common-log</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sunyard.apms</groupId>
|
|
<artifactId>apms-common-swagger</artifactId>
|
|
</dependency>
|
|
|
|
<!--注册中心客户端-->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<!--配置中心客户端-->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
<!--web-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<!--排除tomcat依赖-->
|
|
<exclusion>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
</exclusion>
|
|
<!--排除log4j依赖-->
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>2.3.6.RELEASE</version>
|
|
<configuration>
|
|
<finalName>${project.build.finalName}</finalName>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
<profiles.active>dev</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<!-- 默认环境 -->
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<id>sit</id>
|
|
<properties>
|
|
<!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
<spring.profiles.active>sit</spring.profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>uat</id>
|
|
<properties>
|
|
<!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
<spring.profiles.active>uat</spring.profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>pre</id>
|
|
<properties>
|
|
<!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
<spring.profiles.active>pre</spring.profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>pro</id>
|
|
<properties>
|
|
<!-- 环境标识,需要与配置文件的名称相对应 -->
|
|
<spring.profiles.active>pro</spring.profiles.active>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project> |