1
<?xml version="1.0" encoding="UTF-8"?><project>
3
<artifactId>project</artifactId>
4
<groupId>org.mortbay.jetty</groupId>
5
<version>6.1.19</version>
6
<relativePath>../../pom.xml</relativePath>
8
<modelVersion>4.0.0</modelVersion>
9
<groupId>org.mortbay.jetty</groupId>
10
<artifactId>jetty-test-jndi</artifactId>
11
<packaging>war</packaging>
12
<name>Jetty JNDI Test Webapp</name>
16
<artifactId>maven-antrun-plugin</artifactId>
26
<delete failonerror="false" includeemptydirs="true">
27
<fileset dir="../../contexts/test-jndi.d/" includes="**/**"/>
29
<delete failonerror="false" file="../../contexts/test-jndi.xml"/>
30
<delete failonerror="false" file="../../contexts/README-test-jndi.txt" />
36
<phase>process-sources</phase>
42
<filter filtersfile="src/templates/filter.properties"/>
43
<filter token="JAVA_TMP_DIR" value="${java.io.tmpdir}"/>
44
<copy file="src/templates/jetty-test-jndi.xml" tofile="target/config/test-jndi.xml" filtering="true" overwrite="true"/>
45
<copy file="src/templates/jetty-env.xml" todir="target/${project.artifactId}-${project.version}/WEB-INF" filtering="true" overwrite="true"/>
47
<copy file="src/templates/jta.properties" todir="target/${project.artifactId}-${project.version}/WEB-INF/classes" filtering="true" overwrite="true"/>
53
<phase>install</phase>
59
<unjar src="target/${project.artifactId}-${project.version}.${project.packaging}" dest="../../contexts/test-jndi.d/"></unjar>
60
<copy file="target/config/test-jndi.xml" todir="../../contexts" overwrite="true"/>
61
<copy file="README.txt" tofile="../../contexts/README-test-jndi.txt" overwrite="true" />
71
<groupId>geronimo-spec</groupId>
72
<artifactId>geronimo-spec-jta</artifactId>
73
<scope>provided</scope>
76
<groupId>org.mortbay.jetty</groupId>
77
<artifactId>jetty</artifactId>
78
<version>${project.version}</version>
79
<scope>provided</scope>
82
<groupId>javax.mail</groupId>
83
<artifactId>mail</artifactId>
84
<scope>provided</scope>