157 lines
5.0 KiB
XML
157 lines
5.0 KiB
XML
<?xml version="1.0"?>
|
|
<project
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.sunfintech</groupId>
|
|
<artifactId>sunbta</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>sunbta-gateway</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<url>http://maven.apache.org</url>
|
|
<packaging>war</packaging>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.sunfintech</groupId>
|
|
<artifactId>sunbta-common</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sunfintech</groupId>
|
|
<artifactId>sunbta-facade-auth</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>dubbo</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>activemq-spring</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jms</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
</dependency>
|
|
|
|
<!--rocket-mq-->
|
|
<dependency>
|
|
<groupId>com.alibaba.rocketmq</groupId>
|
|
<artifactId>rocketmq-client</artifactId>
|
|
</dependency>
|
|
|
|
<!--rabbit -->
|
|
<dependency>
|
|
<groupId>com.rabbitmq</groupId>
|
|
<artifactId>amqp-client</artifactId>
|
|
<version>3.5.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.amqp</groupId>
|
|
<artifactId>spring-rabbit</artifactId>
|
|
<version>1.4.6.RELEASE</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>3.14</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>${project.build.directory}/classes</targetPath>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<excludes>
|
|
<exclude>profiles/**/*</exclude>
|
|
<exclude>resource/*</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<resource>
|
|
<targetPath>${project.build.directory}/classes</targetPath>
|
|
<directory>src/main/resources/profiles/${profiles.active}</directory>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.5.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<showWarnings>true</showWarnings>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!--指定打包不带版本号-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<warName>${project.artifactId}</warName>
|
|
<webResources>
|
|
<resource>
|
|
<directory>src/main/webapp</directory>
|
|
<includes>
|
|
<include>*.*</include>
|
|
<include>**/*.*</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<!-- 本地开发环境 及 wx-->
|
|
<id>dev</id>
|
|
<properties>
|
|
<profiles.active>dev</profiles.active>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<!-- 测试环境 嘉兴银行测试环境-->
|
|
<id>test</id>
|
|
<properties>
|
|
<profiles.active>test</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<!-- 生产环境 -->
|
|
<id>prod</id>
|
|
<properties>
|
|
<profiles.active>prod</profiles.active>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|