Maven Repository - POM file for Jetty jetty 6.1.21 6.1.21

Summary

Jetty Server.

Jetty server core.

Declaration

Here is the list of declaration for jetty. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.mortbay.jetty</groupId>
   <artifactId>jetty</artifactId>
   <version>6.1.21</version>
</dependency>

If you think this Maven repository POM file listing for jetty is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Depended by

The following table lists the most popular artifacts which are depending on jetty-6.1.21. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Document Databasecassandra-all 0.7.0
The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.
6




Plugin

The following plugins are used in the jetty-6.1.21.jar

  1. maven-antrun-plugin
  2. maven-bundle-plugin
  3. maven-dependency-plugin
  4. maven-jar-plugin

Packages

The following packages are defined in the jetty-6.1.21.jar

org.mortbay.io
org.mortbay.io.bio
org.mortbay.io.nio
org.mortbay.jetty
org.mortbay.jetty.bio
org.mortbay.jetty.deployer
org.mortbay.jetty.handler
org.mortbay.jetty.nio
org.mortbay.jetty.security
org.mortbay.jetty.servlet
org.mortbay.jetty.webapp
org.mortbay.resource
org.mortbay.servlet.jetty
org.mortbay.xml




POM File Source

Here is the content of the POM file.

<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>project</artifactId>
    <groupId>org.mortbay.jetty</groupId>
    <version>6.1.21</version>
    <relativePath>../../pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.mortbay.jetty</groupId>
  <artifactId>jetty</artifactId>
  <name>Jetty Server</name>
  <description>Jetty server core</description>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-deps</id>
            <phase>install</phase>
            <goals>
              <goal>copy</goal>
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.mortbay.jetty</groupId>
                  <artifactId>servlet-api</artifactId>
                  <version>${servlet-version}</version>
                </artifactItem>
              </artifactItems>
              <outputDirectory>../../lib</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>clean</id>
            <phase>clean</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <delete includeemptydirs="true">
                  <fileset dir="../../lib/" includes="${project.artifactId}-${project.version}.${project.packaging}" />
                  <fileset dir="../../lib/" includes="servlet-api-${servlet-version}.jar" />
                  <fileset dir="../../etc/" >
                    <include name="webdefault.xml"/>
                    <include name="jetty.xml"/>
                    <include name="jetty-bio.xml"/>
                    <include name="jetty-ssl.xml"/>
                    <include name="keystore"/>
                    <include name="jetty-stats.xml"/>
                    <include name="jetty-xinetd.xml"/>
                    <include name="realm.properties"/>
                    <include name="jdbcRealm.properties"/>
                  </fileset>
                </delete>
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>copyjar</id>
            <phase>install</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <copy failonerror="false" file="target/${project.artifactId}-${project.version}.${project.packaging}" tofile="../../lib/${project.artifactId}-${project.version}.${project.packaging}" />
                <copy failonerror="false" file="src/main/resources/org/mortbay/jetty/webapp/webdefault.xml" tofile="../../etc/webdefault.xml" />
                <copy failonerror="false" includeEmptyDirs="false" todir="../../etc">
                  <flattenmapper />
                  <fileset dir="src/main/config/etc">
                    <include name="jetty.xml"/>
                    <include name="jetty-bio.xml"/>
                    <include name="jetty-xinetd.xml"/>
                    <include name="jetty-ssl.xml"/>
                    <include name="keystore"/>
                    <include name="jetty-stats.xml"/>
                    <include name="realm.properties"/>
                    <include name="jdbcRealm.properties"/>
                  </fileset>
                </copy>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>${maven-bundle-plugin-version}</version>
        <extensions>true</extensions>
        <executions>
          <execution>
            <goals>
              <goal>manifest</goal>
            </goals>
            <configuration>
              <instructions>
                <Bundle-SymbolicName>org.mortbay.jetty.server</Bundle-SymbolicName>
                <Bundle-RequiredExecutionEnvironment>J2SE-1.4</Bundle-RequiredExecutionEnvironment>
                <Bundle-DocURL>http://jetty.mortbay.org</Bundle-DocURL>
                <Import-Package>!org.mortbay.jetty.*,!org.mortbay.xml.*,!org.mortbay.resource.*,!org.mortbay.io.*,!org.mortbay.servlet.jetty.*,javax.servlet.resources;resolution:=optional,javax.servlet.jsp;resolution:=optional,org.apache.jasper.servlet;resolution:=optional,org.mortbay.jetty.handler.management;resolution:=optional,*</Import-Package>
              </instructions>
            </configuration>
           </execution>
        </executions>
      </plugin>
      <plugin>
        <!--
        Required for OSGI
        -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <executions>
          <execution>
            <id>artifact-jar</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
          <execution>
            <id>test-jar</id>
            <goals>
              <goal>test-jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <archive>               
            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>jetty-util</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>servlet-api</artifactId>
      <version>${servlet-version}</version>
    </dependency>
  </dependencies>
</project>