1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
<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">
<parent>
<artifactId>jetty-setuid</artifactId>
<groupId>org.mortbay.jetty</groupId>
<version>6.1.26</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-setuid-java</artifactId>
<name>Jetty SetUID Java</name>
<url>http://jetty.mortbay.org</url>
<packaging>jar</packaging>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-jar-files</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy failonerror="false"
file="target/${project.artifactId}-${project.version}.jar"
tofile="../../target/jetty-setuid-${project.version}.jar"/>
<copy failonerror="false" file="src/main/config/etc/jetty-setuid.xml" todir="../../target"/>
<copy failonerror="false"
file="target/${project.artifactId}-${project.version}.jar"
tofile="../../../../lib/ext/jetty-setuid-${project.version}.jar"/>
<copy failonerror="false" file="src/main/config/etc/jetty-setuid.xml" todir="../../../../etc"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
|