2012-11-02 00:41:58 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<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>
|
|
|
|
<parent>
|
2020-09-23 14:35:19 -04:00
|
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
|
|
<artifactId>demos-parent</artifactId>
|
2021-10-06 16:16:07 -04:00
|
|
|
<version>11.0.8-SNAPSHOT</version>
|
2012-11-02 00:41:58 -04:00
|
|
|
</parent>
|
2020-09-23 14:35:19 -04:00
|
|
|
<artifactId>demo-jndi-webapp</artifactId>
|
2020-09-29 12:37:22 -04:00
|
|
|
<name>Demo :: JNDI :: WebApp</name>
|
2012-11-02 00:41:58 -04:00
|
|
|
<packaging>war</packaging>
|
2014-08-15 05:35:49 -04:00
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}.jndi</bundle-symbolic-name>
|
|
|
|
</properties>
|
2012-11-02 00:41:58 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2013-07-11 23:20:26 -04:00
|
|
|
<plugin>
|
2012-11-02 00:41:58 -04:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-xml-files</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<configuration>
|
2020-11-03 14:57:03 -05:00
|
|
|
<target>
|
2012-11-02 00:41:58 -04:00
|
|
|
<concat destfile="${project.build.directory}/plugin-context.xml">
|
|
|
|
<filelist dir="src/main/templates/" files="plugin-context-header.xml,env-definitions.xml" />
|
|
|
|
</concat>
|
|
|
|
<concat destfile="${project.build.directory}/test-jndi.xml">
|
|
|
|
<filelist dir="src/main/templates/" files="jetty-test-jndi-header.xml,env-definitions.xml" />
|
|
|
|
</concat>
|
2020-11-03 14:57:03 -05:00
|
|
|
</target>
|
2012-11-02 00:41:58 -04:00
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-06-24 11:42:39 -04:00
|
|
|
<plugin>
|
2012-11-02 00:41:58 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
2017-06-21 10:19:10 -04:00
|
|
|
<goal>copy-dependencies</goal>
|
2012-11-02 00:41:58 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2020-09-25 15:59:06 -04:00
|
|
|
<includeArtifactIds>jakarta.transaction-api,demo-mock-resources</includeArtifactIds>
|
2017-06-21 10:19:10 -04:00
|
|
|
<outputDirectory>${project.build.directory}/lib/jndi</outputDirectory>
|
|
|
|
</configuration>
|
2012-11-02 00:41:58 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
2019-06-24 11:42:39 -04:00
|
|
|
</plugin>
|
2012-11-02 00:41:58 -04:00
|
|
|
</plugins>
|
2020-09-21 14:57:23 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<contextXml>${project.build.directory}/plugin-context.xml</contextXml>
|
|
|
|
<webApp>
|
|
|
|
<war>src/main/webapp</war>
|
|
|
|
<descriptor>src/main/webapp/WEB-INF/web.xml</descriptor>
|
|
|
|
<contextPath>/test-jndi</contextPath>
|
|
|
|
</webApp>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2020-09-25 15:56:32 -04:00
|
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
|
|
<artifactId>demo-mock-resources</artifactId>
|
2020-09-21 14:57:23 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2012-11-02 00:41:58 -04:00
|
|
|
</build>
|
2019-06-24 11:42:39 -04:00
|
|
|
<dependencies>
|
2017-06-21 10:19:10 -04:00
|
|
|
<dependency>
|
2020-09-25 15:56:32 -04:00
|
|
|
<groupId>org.eclipse.jetty.demos</groupId>
|
|
|
|
<artifactId>demo-mock-resources</artifactId>
|
2017-06-21 10:19:10 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-11-02 00:41:58 -04:00
|
|
|
<dependency>
|
2019-02-12 08:41:05 -05:00
|
|
|
<groupId>jakarta.transaction</groupId>
|
|
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
2012-11-02 00:41:58 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2019-06-24 11:42:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
2020-03-04 04:25:48 -05:00
|
|
|
<artifactId>jetty-jakarta-servlet-api</artifactId>
|
2019-06-24 11:42:39 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-09-30 06:41:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.mail.glassfish</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-11-02 00:41:58 -04:00
|
|
|
</dependencies>
|
|
|
|
</project>
|