alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (pom.xml)

This example Jetty source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

cache, codehaus, codehaus, jetty, license, maven2, maven2, repo, repo, session, version, version

The Jetty pom.xml source code

<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
    <groupId>org.mortbay.jetty
    <version>6.1.9
    <relativePath>../../pom.xml
  </parent-->
  <modelVersion>4.0.0
  <groupId>org.mortbay.jetty
  <artifactId>jetty-wadi-session-manager
  <version>6.1.9
  <name>Wadi - Jetty Session Cache
  <url>http://jetty.mortbay.org
  <licenses>
    <license>
      <name>Apache License Version 2
      <url>http://www.apache.org/licenses/LICENSE-2.0
    </license>
  </licenses>
  <repositories>
    <repository>
        <id>wadi-codehaus-maven2
        <name>Wadi Codehaus Maven2 Repo
        <url>http://snapshots.repository.codehaus.org/
        <snapshots>
            <enabled>true
        </snapshots>
    </repository>
    <repository>
      <id>wadi-dependencies
      <name>wadi dependencies
      <layout>default
      <url>http://dist.codehaus.org/wadi/dependencies/maven2
      <snapshots>
        <enabled>true
      </snapshots>
    </repository>
    <repository>
        <id>tribes
        <name>tribes
        <url>http://tomcat.apache.org/dev/dist/m2-repository
        <snapshots>
            <enabled>true
        </snapshots>
    </repository>
  </repositories>
  <build>
    <defaultGoal>install
    <plugins>
       <plugin>
        <artifactId>maven-compiler-plugin
        <configuration>
          <source>1.5
          <target>1.5
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin
        <executions>
          <execution>
            <id>clean
            <phase>clean
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <delete failonerror="false" includeemptydirs="true">
                 <fileset dir="../../lib/wadi" includes="**/*.jar"/>
                 <fileset dir="../../lib/ext">
                   <include name="${project.artifactId}-${project.version}.jar" />
                 </fileset>
                </delete>
                <delete failonerror="false" file="../../contexts/wadi.xml"/>
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>install
            <phase>install
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <copy file="src/main/resources/wadi.xml" todir="../../contexts"/>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo
        <artifactId>dependency-maven-plugin
        <executions>
          <execution>
            <phase>install
            <goals>
              <goal>copy
            </goals>
            <configuration>
              <artifactItems>
                <artifactItem>
                  <groupId>org.slf4j
                  <artifactId>slf4j-simple
                  <version>${slf4j-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.slf4j
                  <artifactId>jcl104-over-slf4j
                  <version>${slf4j-version}
                </artifactItem>
                <artifactItem>
                  <groupId>aspectj
                  <artifactId>aspectjrt
                  <version>1.5.2a
                </artifactItem>
                <artifactItem>
                  <groupId>org.codehaus.wadi
                  <artifactId>wadi-aop
                  <version>${wadi-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.codehaus.wadi
                  <artifactId>wadi-core
                  <version>${wadi-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.codehaus.wadi
                  <artifactId>wadi-group
                  <version>${wadi-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.codehaus.wadi
                  <artifactId>wadi-tribes
                  <version>${wadi-version}
                </artifactItem>
                <artifactItem>
                  <groupId>backport-util-concurrent
                  <artifactId>backport-util-concurrent
                  <version>${backport-utli-concurrent-version}
                </artifactItem>
                <artifactItem>
                  <groupId>cglib
                  <artifactId>cglib-nodep
                  <version>${cglib-version}
                </artifactItem>
                <artifactItem>
                  <groupId>commons-codec
                  <artifactId>commons-codec
                  <version>${commons-codec-version}
                </artifactItem>
                <artifactItem>
                  <groupId>commons-httpclient
                  <artifactId>commons-httpclient
                  <version>${commons-httpclient-version}
                </artifactItem>
                <artifactItem>
                  <groupId>concurrent
                  <artifactId>concurrent
                  <version>${concurrent-version}
                </artifactItem>
                <artifactItem>
                  <groupId>regexp
                  <artifactId>regexp
                  <version>${regexp-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.tomcat
                  <artifactId>tribes
                  <version>${tribes-version}
                </artifactItem>
                <artifactItem>
                  <groupId>org.apache.tomcat
                  <artifactId>juli
                  <version>${tribes-version}
                </artifactItem>
                <artifactItem>
                  <groupId>${project.groupId}
                  <artifactId>${project.artifactId}
                  <version>${project.version}
                </artifactItem>
              </artifactItems>
              <outputDirectory>${basedir}/../../lib/wadi
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>    
  </build>
  <dependencies>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty
      <version>${project.version}
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty-util
      <version>${project.version}
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>servlet-api-2.5
      <version>${project.version}
      <scope>provided
    </dependency>
    <!--dependency>
      <groupId>junit
      <artifactId>junit
      <scope>test
    </dependency-->
    <dependency>
        <groupId>org.codehaus.wadi
        <artifactId>wadi-aop
        <version>${wadi-version}
    </dependency>
    <dependency>
        <groupId>org.codehaus.wadi
        <artifactId>wadi-core
        <version>${wadi-version}
    </dependency>
    <dependency>
        <groupId>org.codehaus.wadi
        <artifactId>wadi-group
        <version>${wadi-version}
    </dependency>
    <dependency>
        <groupId>org.codehaus.wadi
        <artifactId>wadi-tribes
        <version>${wadi-version}
    </dependency>
    <dependency>
        <groupId>backport-util-concurrent
        <artifactId>backport-util-concurrent
        <version>${backport-utli-concurrent-version}
    </dependency>
    <dependency>
      <groupId>cglib
      <artifactId>cglib-nodep
      <version>${cglib-version}
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>commons-codec
      <artifactId>commons-codec
      <version>${commons-codec-version}
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>commons-httpclient
      <artifactId>commons-httpclient
      <version>${commons-httpclient-version}
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>concurrent
      <artifactId>concurrent
      <version>${concurrent-version}
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>regexp
      <artifactId>regexp
      <version>${regexp-version}
      <scope>runtime
    </dependency>
    <dependency>
      <groupId>org.apache.tomcat
      <artifactId>tribes
      <version>${tribes-version}
      <scope>compile
    </dependency>    
    <dependency>
      <groupId>org.apache.tomcat
      <artifactId>juli
      <version>${tribes-version}
      <scope>runtime
    </dependency>    
  </dependencies>
  <properties>
    <slf4j-version>1.0.1
    <tribes-version>6.0.13
    <regexp-version>1.3
    <concurrent-version>1.3.4
    <commons-httpclient-version>3.0
    <commons-codec-version>1.2
    <cglib-version>2.1_3
    <backport-utli-concurrent-version>2.2
    <wadi-version>2.0-M7
  </properties>
</project>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty pom.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.