2017-01-07 20:49:09 +08:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.zheng</groupId>
|
|
|
|
<artifactId>zheng-cms</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>zheng-cms-rpc-service</artifactId>
|
2017-02-03 11:33:31 +08:00
|
|
|
<packaging>jar</packaging>
|
2017-01-07 20:49:09 +08:00
|
|
|
|
2017-02-03 11:33:31 +08:00
|
|
|
<name>zheng-cms-rpc-service</name>
|
2017-01-07 20:49:09 +08:00
|
|
|
<url>http://www.zhangshuzheng.cn</url>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zheng</groupId>
|
|
|
|
<artifactId>zheng-cms-rpc-api</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.12</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<properties>
|
|
|
|
<env>dev</env>
|
|
|
|
</properties>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<properties>
|
|
|
|
<env>test</env>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>prod</id>
|
|
|
|
<properties>
|
|
|
|
<env>prod</env>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>zheng-cms-rpc-service</finalName>
|
|
|
|
<filters>
|
|
|
|
<filter>src/main/resources/profiles/${env}.properties</filter>
|
|
|
|
</filters>
|
|
|
|
<resources>
|
2017-04-02 14:17:01 +08:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
2017-02-12 00:59:36 +08:00
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
2017-04-02 14:17:01 +08:00
|
|
|
<include>**/*.properties</include>
|
2017-02-12 00:59:36 +08:00
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
2017-01-07 20:49:09 +08:00
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2017-04-02 14:17:01 +08:00
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
2017-01-07 20:49:09 +08:00
|
|
|
<configuration>
|
2017-04-02 14:17:01 +08:00
|
|
|
<skip>true</skip>
|
2017-01-07 20:49:09 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-03-20 14:28:22 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2017-04-02 14:17:01 +08:00
|
|
|
<version>2.4</version>
|
2017-03-20 14:28:22 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2017-04-02 14:17:01 +08:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
|
|
|
</configuration>
|
2017-03-20 14:28:22 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2017-04-02 14:17:01 +08:00
|
|
|
<id>make-assembly</id>
|
2017-03-20 14:28:22 +08:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
2017-04-02 14:17:01 +08:00
|
|
|
<goal>single</goal>
|
2017-03-20 14:28:22 +08:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-04-02 14:17:01 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-compiler-javac</artifactId>
|
|
|
|
<version>1.8.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.10</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-01-07 20:49:09 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|