| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<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"> |
| 3 |
<modelVersion>4.0.0</modelVersion> |
| 4 |
<parent> |
| 5 |
<groupId>org.eclipse.jetty.ee9.demos</groupId> |
| 6 |
<artifactId>jetty-ee9-demos</artifactId> |
| 7 |
<version>12.0.33</version> |
| 8 |
</parent> |
| 9 |
<artifactId>jetty-ee9-demo-jndi-webapp</artifactId> |
| 10 |
<packaging>war</packaging> |
| 11 |
<name>EE9 :: Demo :: JNDI WebApp</name> |
| 12 |
<properties> |
| 13 |
<bundle-symbolic-name>${project.groupId}.jndi</bundle-symbolic-name> |
| 14 |
</properties> |
| 15 |
<dependencies> |
| 16 |
<dependency> |
| 17 |
<groupId>jakarta.transaction</groupId> |
| 18 |
<artifactId>jakarta.transaction-api</artifactId> |
| 19 |
<scope>provided</scope> |
| 20 |
</dependency> |
| 21 |
<dependency> |
| 22 |
<groupId>org.eclipse.jetty.ee9.demos</groupId> |
| 23 |
<artifactId>jetty-ee9-demo-mock-resources</artifactId> |
| 24 |
<scope>provided</scope> |
| 25 |
</dependency> |
| 26 |
<dependency> |
| 27 |
<groupId>org.eclipse.jetty.orbit</groupId> |
| 28 |
<artifactId>javax.mail.glassfish</artifactId> |
| 29 |
<scope>provided</scope> |
| 30 |
</dependency> |
| 31 |
<dependency> |
| 32 |
<groupId>org.eclipse.jetty.toolchain</groupId> |
| 33 |
<artifactId>jetty-jakarta-servlet-api</artifactId> |
| 34 |
<scope>provided</scope> |
| 35 |
</dependency> |
| 36 |
</dependencies> |
| 37 |
<build> |
| 38 |
<pluginManagement> |
| 39 |
<plugins> |
| 40 |
<plugin> |
| 41 |
<groupId>org.eclipse.jetty.ee9</groupId> |
| 42 |
<artifactId>jetty-ee9-maven-plugin</artifactId> |
| 43 |
<version>${project.version}</version> |
| 44 |
<configuration> |
| 45 |
<contextXml>src/main/templates/plugin-context.xml</contextXml> |
| 46 |
<webApp> |
| 47 |
<war>src/main/webapp</war> |
| 48 |
<descriptor>src/main/webapp/WEB-INF/web.xml</descriptor> |
| 49 |
<contextPath>/test-jndi</contextPath> |
| 50 |
</webApp> |
| 51 |
</configuration> |
| 52 |
<dependencies> |
| 53 |
<dependency> |
| 54 |
<groupId>org.eclipse.jetty.ee9</groupId> |
| 55 |
<artifactId>jetty-ee9-jndi</artifactId> |
| 56 |
<version>${project.version}</version> |
| 57 |
</dependency> |
| 58 |
<dependency> |
| 59 |
<groupId>org.eclipse.jetty.ee9.demos</groupId> |
| 60 |
<artifactId>jetty-ee9-demo-mock-resources</artifactId> |
| 61 |
<version>${project.version}</version> |
| 62 |
</dependency> |
| 63 |
</dependencies> |
| 64 |
</plugin> |
| 65 |
</plugins> |
| 66 |
</pluginManagement> |
| 67 |
<plugins> |
| 68 |
<plugin> |
| 69 |
<groupId>org.apache.maven.plugins</groupId> |
| 70 |
<artifactId>maven-dependency-plugin</artifactId> |
| 71 |
<executions> |
| 72 |
<execution> |
| 73 |
<goals> |
| 74 |
<goal>copy-dependencies</goal> |
| 75 |
</goals> |
| 76 |
<phase>package</phase> |
| 77 |
<configuration> |
| 78 |
<includeArtifactIds>jakarta.transaction-api,ee9-demo-mock-resources</includeArtifactIds> |
| 79 |
<outputDirectory>${project.build.directory}/lib/jndi</outputDirectory> |
| 80 |
</configuration> |
| 81 |
</execution> |
| 82 |
</executions> |
| 83 |
</plugin> |
| 84 |
</plugins> |
| 85 |
</build> |
| 86 |
</project> |