Jetty :: Servlet Handling.
Jetty Servlet Container.
Here is the list of declaration for jetty-servlet. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>9.2.5.v20141112</version> </dependency>
If you think this Maven repository POM file listing for jetty-servlet is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following plugins are used in the jetty-servlet-9.2.5.v20141112.jar
The following packages are defined in the jetty-servlet-9.2.5.v20141112.jar
org.eclipse.jetty.servlet org.eclipse.jetty.servlet.jmx org.eclipse.jetty.servlet.listener
Here is the content of the POM file.
<?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"> <parent> <artifactId>jetty-project</artifactId> <groupId>org.eclipse.jetty</groupId> <version>9.2.5.v20141112</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>jetty-servlet</artifactId> <name>Jetty :: Servlet Handling</name> <description>Jetty Servlet Container</description> <url>http://www.eclipse.org/jetty</url> <properties> <bundle-symbolic-name>${project.groupId}.servlet</bundle-symbolic-name> </properties> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <executions> <execution> <goals> <goal>manifest</goal> </goals> <configuration> <instructions> <Import-Package>javax.servlet.*;version="[2.6.0,3.2)",org.eclipse.jetty.jmx.*;version="9.1";resolution:=optional,*</Import-Package> <_nouses>true</_nouses> </instructions> </configuration> </execution> </executions> </plugin> <plugin> <!-- Required for OSGI --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> <executions> <execution> <id>tests</id> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptorRefs> <descriptorRef>config</descriptorRef> </descriptorRefs> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <configuration> <onlyAnalyze>org.eclipse.jetty.servlet.*</onlyAnalyze> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-security</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jmx</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.jetty.toolchain</groupId> <artifactId>jetty-test-helper</artifactId> <scope>test</scope> </dependency> </dependencies> </project>