Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (41 sloc) 1.54 KB
<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.example</groupId>
<artifactId>test-enhance-ant</artifactId>
<version>0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>This test shows how to use the plugin to wrap a build.xml file into an runnable jar</description>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.9.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.9.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>net.kozelka.maven</groupId>
<artifactId>runjar-maven-plugin</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<id>enhance-ant</id>
<phase>package</phase>
<goals>
<goal>enhance-ant</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>