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

site, site, utf-8, utf-8

The Jetty pom.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<project>
  <parent>
    <artifactId>project-website
    <groupId>org.mortbay.jetty
    <version>6.1.9
    <relativePath>../pom.xml
  </parent>
  <modelVersion>4.0.0
  <groupId>org.mortbay.jetty
  <artifactId>project-site
  <packaging>pom
  <name>Jetty Site
  <version>6.1.9
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo
        <artifactId>exec-maven-plugin
        <executions>
          <execution>
            <id>exec-plugin-doc
            <phase>generate-sources
            <goals>
              <goal>exec
            </goals>
            <configuration>
              <executable>mvn
              <workingDirectory>../../modules/maven-plugin
              <arguments>
                <argument>-Dmaven.test.skip=true
                <argument>plugin:xdoc
              </arguments>
            </configuration>
          </execution>
          <execution>
            <id>exec-jspc-plugin-doc
            <phase>generate-sources
            <goals>
              <goal>exec
            </goals>
            <configuration>
              <executable>mvn
              <workingDirectory>../../modules/jspc-maven-plugin
              <arguments>
                <argument>-Dmaven.test.skip=true
                <argument>plugin:xdoc
              </arguments>
            </configuration>
          </execution>
          <execution>
            <id>exec-site
            <phase>generate-sources
            <goals>
              <goal>exec
            </goals>
            <configuration>
              <executable>mvn
              <workingDirectory>../..
              <arguments>
                <argument>-Dmaven.test.skip=true
                <argument>site
              </arguments>
            </configuration>
          </execution>
        </executions>
      </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="${basedir}/../../javadoc" includes="**/**"/> 
                </delete>
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>copyfile
            <phase>process-sources
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <copy file="${basedir}/../../README.txt" todir="${basedir}/target/site/" failonerror="false">
                <copy file="${basedir}/../../VERSION.txt" todir="${basedir}/target/site/" failonerror="false">
                <copy file="${basedir}/../../LICENSES/LICENSE.txt" todir="${basedir}/target/site/" failonerror="false">
                <copy todir="${basedir}/target/site/apidocs" failonerror="false" overwrite="true">
                  <fileset dir="${basedir}/../../target/site/apidocs">
                    <include name="**/**"/>
                  </fileset>
                </copy>
                <copy todir="${basedir}/target/site/xref" failonerror="false" overwrite="true">
                  <fileset dir="${basedir}/../../target/site/xref">
                    <include name="**/**"/>
                  </fileset>
                </copy>
                <copy todir="${basedir}/target/site/xref-test" failonerror="false" overwrite="true">
                  <fileset dir="${basedir}/../../target/site/xref-test">
                    <include name="**/**"/>
                  </fileset>
                </copy>
                <copy todir="${basedir}/target/generated-site/xdoc/maven-plugin" failonerror="false" overwrite="true">
                  <fileset dir="${basedir}/../../modules/maven-plugin/target/generated-site/xdoc">
                    <include name="index.xml"/>
                    <include name="run-mojo.xml"/>
                    <include name="run-war-mojo.xml"/>
                    <include name="run-exploded-mojo.xml"/>
                  </fileset>
                </copy>
                <copy todir="${basedir}/target/generated-site/xdoc/jspc-maven-plugin" failonerror="false" overwrite="true">
                  <fileset dir="${basedir}/../../modules/jspc-maven-plugin/target/generated-site/xdoc">
                    <include name="index.xml"/>
                    <include name="jspc-mojo.xml"/>
                  </fileset>
                </copy>
                <copy todir="${basedir}/target/site" overwrite="true">
                  <fileset dir="${basedir}/../../modules/jetty/target/classes/org/mortbay/xml">
                    <include name="*.dtd"/>
                  </fileset>
                </copy>
                <copy file="${basedir}/target/site/configure_6_0.dtd" tofile="${basedir}/target/site/configure.dtd"/>
                <copy file="${basedir}/target/site/configure_6_0.dtd" tofile="${basedir}/target/site/configure_1_0.dtd"/>
                <copy file="${basedir}/target/site/configure_6_0.dtd" tofile="${basedir}/target/site/configure_1_1.dtd"/>
                <copy file="${basedir}/target/site/configure_6_0.dtd" tofile="${basedir}/target/site/configure_1_2.dtd"/>
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>javadoc
            <phase>install
            <goals>
              <goal>run
            </goals>
            <configuration>
              <tasks>
                <copy failonerror="false" todir="../../javadoc" >
                  <fileset dir="${basedir}/target/site/apidocs">
                    <include name="**"/>
                  </fileset>
                </copy>
              </tasks>
	    </configuration>
	  </execution>
        </executions>
      </plugin>
      <plugin>
       <groupId>org.apache.maven.plugins
       <artifactId>maven-site-plugin
       <executions>
          <execution>
            <id>site
            <phase>install
            <goals>
              <goal>site
            </goals>
          </execution>
         <configuration>
         </configuration>
       </executions>
      </plugin>
    </plugins>
  </build>
  <reporting/>
</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.