mirror of https://github.com/apache/maven.git
72 lines
2.0 KiB
XML
72 lines
2.0 KiB
XML
<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>
|
|
<groupId>com.mycompany.app</groupId>
|
|
<artifactId>my-app</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>Maven Quick Start Archetype</name>
|
|
<url>http://maven.apache.org</url>
|
|
<organization>
|
|
<name>MyCompany Inc</name>
|
|
</organization>
|
|
|
|
<properties>
|
|
<pkey>pvalue</pkey>
|
|
<target>${pom.build.directory}</target>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<filters>
|
|
<filter>src/main/filters/filters.properties</filter>
|
|
</filters>
|
|
<!--
|
|
<outputDirectory>${pom.build.directory}</outputDirectory>
|
|
-->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.com.foo.App</mainClass>
|
|
<packageName>org.com.foo.app</packageName>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<mode>development</mode>
|
|
<url>${target}</url>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|