|
@@ -58,59 +58,80 @@
|
|
|
<filter>src/main/resources/profiles/${env}.properties</filter>
|
|
<filter>src/main/resources/profiles/${env}.properties</filter>
|
|
|
</filters>
|
|
</filters>
|
|
|
<resources>
|
|
<resources>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
|
+ <filtering>true</filtering>
|
|
|
|
|
+ </resource>
|
|
|
<resource>
|
|
<resource>
|
|
|
<directory>src/main/java</directory>
|
|
<directory>src/main/java</directory>
|
|
|
<includes>
|
|
<includes>
|
|
|
<include>**/*.xml</include>
|
|
<include>**/*.xml</include>
|
|
|
|
|
+ <include>**/*.properties</include>
|
|
|
</includes>
|
|
</includes>
|
|
|
<filtering>true</filtering>
|
|
<filtering>true</filtering>
|
|
|
</resource>
|
|
</resource>
|
|
|
- <resource>
|
|
|
|
|
- <directory>src/main/resources</directory>
|
|
|
|
|
- <filtering>true</filtering>
|
|
|
|
|
- </resource>
|
|
|
|
|
</resources>
|
|
</resources>
|
|
|
<plugins>
|
|
<plugins>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
- <version>2.18.1</version>
|
|
|
|
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
+ <version>2.4</version>
|
|
|
<configuration>
|
|
<configuration>
|
|
|
- <skipTests>true</skipTests>
|
|
|
|
|
- <testFailureIgnore>true</testFailureIgnore>
|
|
|
|
|
|
|
+ <skip>true</skip>
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
- <version>2.6</version>
|
|
|
|
|
- <configuration>
|
|
|
|
|
- <archive>
|
|
|
|
|
- <manifest>
|
|
|
|
|
- <addClasspath>true</addClasspath>
|
|
|
|
|
- <classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
- <mainClass>com.zheng.pay.rpc.ZhengPayRpcServiceApplication</mainClass>
|
|
|
|
|
- </manifest>
|
|
|
|
|
- </archive>
|
|
|
|
|
- </configuration>
|
|
|
|
|
|
|
+ <version>2.4</version>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
<plugin>
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
- <version>2.10</version>
|
|
|
|
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <descriptor>src/main/assembly/assembly.xml</descriptor>
|
|
|
|
|
+ </configuration>
|
|
|
<executions>
|
|
<executions>
|
|
|
<execution>
|
|
<execution>
|
|
|
- <id>copy-dependencies</id>
|
|
|
|
|
|
|
+ <id>make-assembly</id>
|
|
|
<phase>package</phase>
|
|
<phase>package</phase>
|
|
|
<goals>
|
|
<goals>
|
|
|
- <goal>copy-dependencies</goal>
|
|
|
|
|
|
|
+ <goal>single</goal>
|
|
|
</goals>
|
|
</goals>
|
|
|
- <configuration>
|
|
|
|
|
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
|
- </configuration>
|
|
|
|
|
</execution>
|
|
</execution>
|
|
|
</executions>
|
|
</executions>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
|
|
+ <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>
|
|
|
</plugins>
|
|
</plugins>
|
|
|
</build>
|
|
</build>
|
|
|
</project>
|
|
</project>
|