2023-10-11 21:51:36 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2022-05-31 23:38:42 -04:00
|
|
|
<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">
|
2023-10-11 21:51:36 -04:00
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-05-31 23:38:42 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
|
|
<artifactId>jetty-ee8</artifactId>
|
2024-04-26 08:42:57 -04:00
|
|
|
<version>12.1.0-SNAPSHOT</version>
|
2022-05-31 23:38:42 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>jetty-ee8-webapp</artifactId>
|
2023-01-27 13:09:06 -05:00
|
|
|
<name>EE8 :: WebApp</name>
|
2022-05-31 23:38:42 -04:00
|
|
|
<description>Jetty web application support</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}.webapp</bundle-symbolic-name>
|
2023-10-11 21:51:36 -04:00
|
|
|
<ee9.module>jetty-ee9-webapp</ee9.module>
|
2022-05-31 23:38:42 -04:00
|
|
|
<spotbugs.onlyAnalyze>org.eclipse.jetty.ee8.webapp.*</spotbugs.onlyAnalyze>
|
|
|
|
</properties>
|
|
|
|
|
2023-10-11 21:51:36 -04:00
|
|
|
<dependencies>
|
2024-03-25 04:10:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-ee</artifactId>
|
|
|
|
</dependency>
|
2023-10-11 21:51:36 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-xml</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.ee8</groupId>
|
|
|
|
<artifactId>jetty-ee8-servlet</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-client</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-http-tools</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-test-helper</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
2022-05-31 23:38:42 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2023-10-11 21:51:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; filter:="(osgi.serviceloader=org.eclipse.jetty.ee8.webapp.Configuration)";cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
|
|
|
|
<Provide-Capability>osgi.serviceloader; osgi.serviceloader=org.eclipse.jetty.ee8.webapp.Configuration</Provide-Capability>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-05-31 23:38:42 -04:00
|
|
|
<plugin>
|
|
|
|
<!-- need to be redefined here as this module have some special need of resources -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-ee8-resources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>generate-resources</phase>
|
2022-05-31 23:38:42 -04:00
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-webapp/src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/config/etc</directory>
|
|
|
|
<targetPath>org/eclipse/jetty/ee8/webapp</targetPath>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>webdefault-ee8.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-ee8-test-resources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
2023-10-11 21:51:36 -04:00
|
|
|
<phase>generate-test-resources</phase>
|
2022-05-31 23:38:42 -04:00
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-webapp/src/test/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-webapp/src/test/webapp</directory>
|
|
|
|
<targetPath>webapp</targetPath>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>${maven.multiModuleProjectDirectory}/jetty-ee9/jetty-ee9-webapp/src/test/webapp-alt-jsp</directory>
|
|
|
|
<targetPath>webapp-alt-jsp</targetPath>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2023-10-19 02:35:44 -04:00
|
|
|
<argLine>@{argLine} ${jetty.surefire.argLine}
|
|
|
|
--add-reads org.eclipse.jetty.ee8.webapp=org.eclipse.jetty.logging</argLine>
|
2022-05-31 23:38:42 -04:00
|
|
|
<useManifestOnlyJar>false</useManifestOnlyJar>
|
|
|
|
<additionalClasspathElements>
|
2022-10-17 18:09:36 -04:00
|
|
|
<additionalClasspathElement>${project.build.testOutputDirectory}/mods/foo-bar-janb.jar</additionalClasspathElement>
|
2022-05-31 23:38:42 -04:00
|
|
|
</additionalClasspathElements>
|
|
|
|
<excludes>
|
|
|
|
<exclude>org.eclipse.jetty.ee8.webapp.WebAppClassLoaderUrlStreamTest</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|