home | 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

html, html

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-html
  <name>Jetty HTML
  <url>http://jetty.mortbay.org
  <build>
    <defaultGoal>install
    <resources>
      <resource>
        <directory>src/main/java
        <includes>
          <include>org/mortbay/**/*.properties
          <include>org/mortbay/**/*.dtd
          <include>org/mortbay/**/*.xml
        </includes>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>src/test/java
        <includes>
          <include>**/*Test.java
          <include>org/mortbay/**/*.xml
        </includes>
        <excludes>
          <exclude>**/Abstract*.java
        </excludes>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin
        <executions>
          <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>
          <execution>
            <id>copyjar
            <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>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit
      <artifactId>junit
      <scope>test
    </dependency>
    <dependency>
      <groupId>org.mortbay.jetty
      <artifactId>jetty
      <version>${project.version}
    </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:

new blog posts

 

Copyright 1998-2016 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.