155 lines
4.8 KiB
XML
155 lines
4.8 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.roncoo.pay.common</groupId>
|
|
<artifactId>roncoo-pay</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>com.roncoo.pay.common</groupId>
|
|
<artifactId>roncoo-pay-app-notify</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
<name>roncoo-app-notify</name>
|
|
<url>http://maven.apache.org</url>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.roncoo.pay.common</groupId>
|
|
<artifactId>roncoo-pay-common-core</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.roncoo.pay.service</groupId>
|
|
<artifactId>roncoo-pay-service</artifactId>
|
|
<version>${project.parent.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-pool</groupId>
|
|
<artifactId>commons-pool</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>roncoo-pay-app-notify</finalName>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>${project.build.directory}/classes</targetPath>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
<include>**/*.properties</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<targetPath>${project.build.directory}/classes/META-INF/spring</targetPath>
|
|
<directory>src/main/resources/spring</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>spring-context.xml</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
|
|
<!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<classesDirectory>target/classes/</classesDirectory>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.roncoo.pay.app.notify.App</mainClass>
|
|
<!-- 打包时 MANIFEST.MF文件不记录的时间戳版本 -->
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
<addClasspath>true</addClasspath>
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<Class-Path>.</Class-Path>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<type>jar</type>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputDirectory>
|
|
${project.build.directory}/lib
|
|
</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<uniqueVersion>false</uniqueVersion>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<failOnError>true</failOnError>
|
|
<verbose>true</verbose>
|
|
<fork>true</fork>
|
|
<compilerArgument>-nowarn</compilerArgument>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|