The Jetty pom.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<parent>
<artifactId>project
<groupId>org.mortbay.jetty
<version>6.1.9
<relativePath>../../pom.xml
</parent>
<modelVersion>4.0.0
<artifactId>jsp-2.0
<packaging>pom
<name>JSP 2.0 Jasper dependencies
<build>
<defaultGoal>install
<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/jsp-2.0">
<include name="slf4j-simple-${slf4j-version}.jar" />
<include name="jcl104-over-slf4j-${slf4j-version}.jar" />
<include name="jasper-compiler-jdt-${jasper-version}.jar" />
<include name="commons-el-${commons-el-version}.jar" />
<include name="xercesImpl-${xerces-version}.jar" />
<include name="xmlParserAPIs-${xerces-version}.jar" />
<include name="jasper-compiler-${jasper-version}.jar" />
<include name="jasper-compiler-jdt-${jasper-version}.jar" />
<include name="jasper-runtime-${jasper-version}.jar" />
<include name="ant-${ant-version}.jar" />
</fileset>
</delete>
</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>slf4j-api
<version>${slf4j-version}
</artifactItem>
<artifactItem>
<groupId>tomcat
<artifactId>jasper-compiler-jdt
<version>${jasper-version}
</artifactItem>
<artifactItem>
<groupId>org.slf4j
<artifactId>jcl104-over-slf4j
<version>${slf4j-version}
</artifactItem>
<artifactItem>
<groupId>commons-el
<artifactId>commons-el
<version>${commons-el-version}
</artifactItem>
<artifactItem>
<groupId>xerces
<artifactId>xercesImpl
<version>${xerces-version}
</artifactItem>
<artifactItem>
<groupId>tomcat
<artifactId>jasper-compiler
<version>${jasper-version}
</artifactItem>
<artifactItem>
<groupId>ant
<artifactId>ant
<version>${ant-version}
</artifactItem>
<artifactItem>
<groupId>tomcat
<artifactId>jasper-runtime
<version>${jasper-version}
</artifactItem>
<artifactItem>
<groupId>xerces
<artifactId>xmlParserAPIs
<version>${xerces-version}
</artifactItem>
</artifactItems>
<outputDirectory>${basedir}/../../lib/jsp-2.0
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.slf4j
<artifactId>slf4j-api
<version>${slf4j-version}
<scope>runtime
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>slf4j-simple
<scope>runtime
</dependency>
<dependency>
<groupId>tomcat
<artifactId>jasper-compiler-jdt
<version>${jasper-version}
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>jcl104-over-slf4j
<version>${slf4j-version}
<scope>runtime
</dependency>
<dependency>
<groupId>xerces
<artifactId>xmlParserAPIs
<version>2.6.2
</dependency>
<dependency>
<groupId>commons-el
<artifactId>commons-el
<version>${commons-el-version}
<scope>runtime
<exclusions>
<exclusion>
<artifactId>log4j
<groupId>log4j
</exclusion>
<exclusion>
<artifactId>commons-logging
<groupId>commons-logging
</exclusion>
<exclusion>
<artifactId>logkit
<groupId>logkit
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xerces
<artifactId>xercesImpl
<version>${xerces-version}
<scope>runtime
</dependency>
<dependency>
<groupId>org.mortbay.jetty
<artifactId>servlet-api-2.5
<version>${project.version}
</dependency>
<dependency>
<groupId>tomcat
<artifactId>jasper-compiler
<version>${jasper-version}
<exclusions>
<exclusion>
<artifactId>servlet-api
<groupId>javax.servlet
</exclusion>
<exclusion>
<groupId>javax.servlet
<artifactId>jsp-api
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mortbay.jetty
<artifactId>jsp-api-2.0
<version>${project.version}
</dependency>
<dependency>
<groupId>ant
<artifactId>ant
<version>${ant-version}
<scope>runtime
</dependency>
<dependency>
<groupId>tomcat
<artifactId>jasper-runtime
<version>${jasper-version}
<exclusions>
<exclusion>
<artifactId>servlet-api
<groupId>javax.servlet
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xerces
<artifactId>xmlParserAPIs
<version>${xerces-version}
<scope>runtime
</dependency>
</dependencies>
<properties>
<xerces-version>2.6.2
<jasper-version>5.5.15
<commons-el-version>1.0
</properties>
</project>
Other Jetty examples (source code examples)
Here is a short list of links related to this Jetty pom.xml source code file: