|
Jetty example source code file (pom.xml)
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-xbean <name>Jetty XBean <url>http://jetty.mortbay.org <build> <defaultGoal>install <resources> <resource> <directory>src/main/resources <includes> <include>**/*.properties <include>**/*.dtd <include>**/*.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" includeemptydirs="true"> <fileset dir="../../lib/" includes="xbean/**" /> </delete> </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/xbean" /> </tasks> </configuration> </execution> <execution> <id>genxsd <phase>process-classes <goals> <goal>run </goals> <configuration> <tasks> <taskdef classname="org.apache.xbean.spring.generator.MappingGeneratorTask" name="mapping"> <classpath> <pathelement path="${basedir}/target/classes" /> <path refid="maven.runtime.classpath" /> </classpath> </taskdef> <mkdir dir="${basedir}/target/xbean-src-to-parse" /> <copy todir="${basedir}/target/xbean-src-to-parse"> <fileset dir="${basedir}/src/main/java/org/mortbay/jetty/xbean" /> <fileset dir="${basedir}/../../modules/jetty/src/main/java/org/mortbay/jetty"> <include name="*.java" /> <include name="bio/**/*.java" /> <include name="deployer/**/*.java" /> <include name="nio/**/*.java" /> <include name="handler/**/*.java" /> <include name="webapp/**/*.java" /> </fileset> <fileset dir="${basedir}/../../modules/plus/src/main/java/org/mortbay/jetty/plus"> <include name="jaas/**/*.java" /> </fileset> </copy> <mkdir dir="${basedir}/target/generated/" /> <mapping namespace="http://mortbay.com/schemas/jetty/1.0" srcdir="${basedir}/target/xbean-src-to-parse" destFile="target/jetty.xsd" metaInfDir="${basedir}/target/generated/" /> <copy todir="${basedir}/target/classes"> <fileset dir="${basedir}/target/generated" /> </copy> <copy todir="${basedir}/../../project-website/project-site/src/site/resources"> <fileset dir="target"> <include name="jetty.xsd" /> <include name="jetty.xsd.html" /> </fileset> </copy> </tasks> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit <artifactId>junit <scope>test </dependency> <dependency> <groupId>org.apache.xbean <artifactId>xbean-spring <version>2.2 </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty <version>${project.version} </dependency> <dependency> <groupId>org.mortbay.jetty <artifactId>jetty-plus <version>${project.version} </dependency> <dependency> <groupId>org.springframework <artifactId>spring <version>1.2.8 </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 |
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.