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

client, client, http, http, license, license, 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
  </parent>
  <modelVersion>4.0.0
  <groupId>org.mortbay.jetty
  <artifactId>jetty-client
  <name>Jetty HTTP Client
  <url>http://jetty.mortbay.org
  <licenses>
    <license>
      <name>Apache License Version 2
      <url>http://www.apache.org/licenses/LICENSE-2.0
    </license>
  </licenses>
  <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>copyfiles
            <phase>install
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <copy failonerror="false" file="target/${project.artifactId}-${project.version}.${project.packaging}" todir="../../lib/ext" />
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>clean
            <phase>clean
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <delete failonerror="false" file="../../lib/ext/${project.artifactId}-${project.version}.${project.packaging}"/>
              </tasks>
            </configuration>
          </execution>		  
        </executions>
      </plugin>
	</plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty-sslengine
      <version>${project.version}
    </dependency>
    <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>junit
      <artifactId>junit
      <scope>test
    </dependency>
  </dependencies>
</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-2021 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.