pax-web-jetty
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-jetty</artifactId> <version>9.0.20</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2021 OPS4J. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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> <groupId>org.ops4j.pax</groupId> <artifactId>web</artifactId> <version>9.0.20</version> <relativePath>../pom.xml</relativePath> </parent> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-jetty</artifactId> <packaging>bundle</packaging> <name>OPS4J Pax Web - Jetty</name> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-Activator>org.ops4j.pax.web.service.jetty.internal.Activator</Bundle-Activator> <Import-Package> <!-- ranges indicate Servlet API 3.1+ (JavaEE 7+) --> javax.servlet;version="[3.1,5)", javax.servlet.annotation;version="[3.1,5)", javax.servlet.http;version="[3.1,5)", <!-- ranges indicate we can work with OSGi Core R6+ --> org.osgi.framework;version="[1.8,2)", org.osgi.framework.wiring;version="[1.2,2)", org.osgi.util.tracker;version="[1.5,2)", <!-- OSGi cmpn --> org.osgi.service.http;version="[1.2,2)", org.osgi.service.http.whiteboard;version="[1.1,2)", <!-- from pax-web-api --> org.ops4j.pax.web.service;version="${pax-web.osgi.version}", org.ops4j.pax.web.utils;version="${pax-web.osgi.version}", <!-- from pax-web-spi --> org.ops4j.pax.web.service.spi.*;version="${pax-web.osgi.version}", <!-- from pax-logging-api --> org.slf4j;version="[1.7,2)", <!-- from Jetty bundles --> org.eclipse.jetty.*, org.eclipse.jetty.jaas, org.eclipse.jetty.rewrite;resolution:=optional, org.eclipse.jetty.rewrite.handler;resolution:=optional, org.eclipse.jetty.server.handler.gzip, org.eclipse.jetty.server.handler.jmx, org.eclipse.jetty.servlets;resolution:=optional, <!-- other --> javax.annotation;version="[1.2,2)";resolution:=optional, javax.management, javax.net.ssl, javax.security.auth, javax.xml.parsers, org.w3c.dom, org.xml.sax </Import-Package> <Export-Package> <!-- this is needed to satisfy unused (in Pax Web) requirement from org.eclipse.jetty.websocket.javax.server/10 --> org.eclipse.jetty.webapp;version="${dependency.org.eclipse.jetty}" </Export-Package> <Provide-Capability> osgi.service;effective:=active;objectClass:List<String>="org.ops4j.pax.web.service.spi.ServerControllerFactory" </Provide-Capability> <Private-Package> <!-- pax-web-jetty (internal) --> org.ops4j.pax.web.service.jetty.internal.*, </Private-Package> </instructions> </configuration> </plugin> </plugins> </build> <dependencies> <!-- pax-web own artifacts --> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-spi</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.ops4j.pax.web</groupId> <artifactId>pax-web-runtime</artifactId> <scope>provided</scope> </dependency> <!-- OPS4J dependencies --> <dependency> <groupId>org.ops4j.base</groupId> <artifactId>ops4j-base-lang</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.ops4j.base</groupId> <artifactId>ops4j-base-util-xml</artifactId> <scope>provided</scope> </dependency> <!-- OSGi --> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>osgi.cmpn</artifactId> <scope>provided</scope> </dependency> <!-- JavaEE --> <dependency> <groupId>jakarta.servlet</groupId> <artifactId>jakarta.servlet-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>jakarta.websocket</groupId> <artifactId>jakarta.websocket-api</artifactId> <scope>provided</scope> </dependency> <!-- Jetty --> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-io</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-http</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jaas</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-xml</artifactId> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-plus</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jmx</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.http2</groupId> <artifactId>http2-server</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.http2</groupId> <artifactId>http2-http-client-transport</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-alpn-server</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-alpn-java-server</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-jetty-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-core-client</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-core-common</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-core-server</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-servlet</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-javax-common</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-javax-client</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.websocket</groupId> <artifactId>websocket-javax-server</artifactId> <scope>provided</scope> </dependency> <!-- Logging --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <scope>test</scope> </dependency> <!-- Other --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents.core5</groupId> <artifactId>httpcore5</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents.core5</groupId> <artifactId>httpcore5-h2</artifactId> <scope>test</scope> </dependency> <!-- Testing --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>jdk11</id> <activation> <jdk>[9,)</jdk> </activation> <dependencies> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-alpn-java-server</artifactId> <scope>provided</scope> <optional>true</optional> </dependency> </dependencies> </profile> </profiles> </project>