2009-03-24 17:07:27 -04:00
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-parent</artifactId>
|
2012-09-20 15:01:47 -04:00
|
|
|
<version>20</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>jetty-project</artifactId>
|
2012-02-06 19:32:00 -05:00
|
|
|
<version>9.0.0-SNAPSHOT</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
<name>Jetty :: Project</name>
|
2011-02-15 09:35:16 -05:00
|
|
|
<url>${jetty.url}</url>
|
2009-03-24 17:07:27 -04:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
2009-08-17 19:03:00 -04:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2012-01-31 17:21:58 -05:00
|
|
|
<jetty.url>http://www.eclipse.org/jetty</jetty.url>
|
2012-02-02 03:12:46 -05:00
|
|
|
<orbit-servlet-api-version>3.0.0.v201112011016</orbit-servlet-api-version>
|
2011-08-28 12:52:10 -04:00
|
|
|
<build-support-version>1.1</build-support-version>
|
2012-01-31 17:21:58 -05:00
|
|
|
<slf4j-version>1.6.1</slf4j-version>
|
|
|
|
<jetty-test-policy-version>1.2</jetty-test-policy-version>
|
2009-08-17 19:03:00 -04:00
|
|
|
</properties>
|
2009-03-24 17:07:27 -04:00
|
|
|
<scm>
|
2011-07-06 14:20:44 -04:00
|
|
|
<connection>scm:git:http://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project.git</connection>
|
|
|
|
<developerConnection>scm:git:ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project.git</developerConnection>
|
2011-07-06 14:33:16 -04:00
|
|
|
<url>http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree</url>
|
2009-03-24 17:07:27 -04:00
|
|
|
</scm>
|
|
|
|
<build>
|
|
|
|
<defaultGoal>install</defaultGoal>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-02-06 19:32:00 -05:00
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
2009-03-24 17:07:27 -04:00
|
|
|
<verbose>false</verbose>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<configuration>
|
2010-05-26 14:43:25 -04:00
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
2009-03-24 17:07:27 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2010-05-03 13:02:09 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>process</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<resourceBundles>
|
2012-08-07 09:57:26 -04:00
|
|
|
<resourceBundle>org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.1</resourceBundle>
|
2010-05-03 13:02:09 -04:00
|
|
|
</resourceBundles>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-05-03 13:01:51 -04:00
|
|
|
<!-- source maven plugin creates the source bundle and adds manifest -->
|
|
|
|
<plugin>
|
|
|
|
<inherited>true</inherited>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
2010-05-27 08:38:19 -04:00
|
|
|
<Bundle-Name>${project.name}</Bundle-Name>
|
2010-05-03 13:01:51 -04:00
|
|
|
<Bundle-SymbolicName>${bundle-symbolic-name}.source;singleton:=true</Bundle-SymbolicName>
|
|
|
|
<Bundle-Vendor>Eclipse.org - Jetty</Bundle-Vendor>
|
|
|
|
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
|
|
|
<Eclipse-SourceBundle>${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-03-30 14:45:31 -04:00
|
|
|
<!-- Build helper maven plugin sets the parsedVersion.osgiVersion property -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>set-osgi-version</id>
|
2012-05-08 12:16:53 -04:00
|
|
|
<phase>validate</phase>
|
2010-03-30 14:45:31 -04:00
|
|
|
<goals>
|
|
|
|
<goal>parse-version</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2010-04-27 10:35:42 -04:00
|
|
|
</plugin>
|
2011-08-30 15:20:01 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-version-maven-plugin</artifactId>
|
|
|
|
<executions>
|
2011-08-19 15:11:12 -04:00
|
|
|
<execution>
|
2011-08-30 15:20:01 -04:00
|
|
|
<id>attach-version</id>
|
|
|
|
<phase>process-resources</phase>
|
2011-08-19 15:11:12 -04:00
|
|
|
<goals>
|
2011-08-30 15:20:01 -04:00
|
|
|
<goal>attach-version-text</goal>
|
2011-08-19 15:11:12 -04:00
|
|
|
</goals>
|
2010-03-30 14:45:31 -04:00
|
|
|
</execution>
|
|
|
|
</executions>
|
2010-04-27 10:35:42 -04:00
|
|
|
</plugin>
|
2010-05-14 18:37:57 -04:00
|
|
|
<!-- Enforcer Plugin -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-java</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireMavenVersion>
|
2012-06-26 14:26:56 -04:00
|
|
|
<version>[3.0.0,)</version>
|
2010-05-14 18:37:57 -04:00
|
|
|
</requireMavenVersion>
|
|
|
|
<requireJavaVersion>
|
2012-06-26 14:26:56 -04:00
|
|
|
<version>[1.7,)</version>
|
|
|
|
<message>[ERROR] OLD JDK [${java.version}] in use. Jetty ${project.version} requires JDK 1.7 or newer</message>
|
2010-05-14 18:37:57 -04:00
|
|
|
</requireJavaVersion>
|
|
|
|
<versionTxtRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.VersionTxtRule" />
|
|
|
|
<versionOsgiRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireOsgiCompatibleVersionRule" />
|
|
|
|
<versionRedhatRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireRedhatCompatibleVersionRule" />
|
|
|
|
<versionDebianRule implementation="org.eclipse.jetty.toolchain.enforcer.rules.RequireDebianCompatibleVersionRule" />
|
2012-01-31 17:21:58 -05:00
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-orbit-deps</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<!-- Banned Dependencies (should use Orbit based versions now) -->
|
|
|
|
<bannedDependencies>
|
2012-09-20 15:04:41 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>javax.servlet</exclude>
|
|
|
|
<exclude>javax.servlet.jsp</exclude>
|
|
|
|
<exclude>org.apache.geronimo.specs</exclude>
|
|
|
|
<exclude>javax.mail</exclude>
|
|
|
|
<exclude>javax.activation</exclude>
|
|
|
|
</excludes>
|
|
|
|
<!-- allowed combinations -->
|
2012-01-31 17:21:58 -05:00
|
|
|
<includes>
|
2012-10-06 05:26:14 -04:00
|
|
|
<include>org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:*</include>
|
2012-09-20 15:04:41 -04:00
|
|
|
<include>javax.servlet:*:*:*:provided</include>
|
|
|
|
<include>javax.servlet.jsp:*:*:*:provided</include>
|
2012-01-31 17:21:58 -05:00
|
|
|
</includes>
|
|
|
|
<searchTransitive>true</searchTransitive>
|
|
|
|
<message>This dependency is banned, use the ORBIT provided dependency instead.</message>
|
|
|
|
</bannedDependencies>
|
2010-05-14 18:37:57 -04:00
|
|
|
</rules>
|
2012-01-31 17:21:58 -05:00
|
|
|
<fail>true</fail>
|
2010-05-14 18:37:57 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
2012-09-20 14:42:21 -04:00
|
|
|
<execution>
|
|
|
|
<id>ban-junit.jar</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<bannedDependencies>
|
|
|
|
<excludes>
|
|
|
|
<exclude>junit:junit:*:jar</exclude>
|
|
|
|
</excludes>
|
|
|
|
<searchTransitive>true</searchTransitive>
|
|
|
|
<message>We use junit-dep.jar, not junit.jar (as the standard junit.jar aggregates too many 3rd party libs inside of it)</message>
|
|
|
|
</bannedDependencies>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2010-05-14 18:37:57 -04:00
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
2010-05-26 14:07:21 -04:00
|
|
|
<artifactId>jetty-build-support</artifactId>
|
|
|
|
<version>${build-support-version}</version>
|
2010-05-14 18:37:57 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2010-06-16 13:21:50 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2011-08-24 12:52:07 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>named-logging-enforcement</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2010-06-16 13:21:50 -04:00
|
|
|
<configuration>
|
2012-06-12 15:32:28 -04:00
|
|
|
<targetJdk>1.7</targetJdk>
|
2010-06-16 13:21:50 -04:00
|
|
|
<rulesets>
|
2011-08-24 12:52:07 -04:00
|
|
|
<ruleset>jetty/pmd_logging_ruleset.xml</ruleset>
|
2010-06-16 13:21:50 -04:00
|
|
|
</rulesets>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-build-support</artifactId>
|
|
|
|
<version>${build-support-version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2009-04-01 14:06:52 -04:00
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2011-08-19 15:13:54 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-version-maven-plugin</artifactId>
|
2011-10-24 14:55:02 -04:00
|
|
|
<version>1.0.7</version>
|
2011-08-19 15:13:54 -04:00
|
|
|
</plugin>
|
2010-05-03 13:02:09 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestEntries>
|
|
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
|
|
<Implementation-Vendor>Eclipse.org - Jetty</Implementation-Vendor>
|
|
|
|
<url>${jetty.url}</url>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2012-09-21 11:34:21 -04:00
|
|
|
<argLine>-showversion -XX:+PrintGCDetails</argLine>
|
2010-05-03 13:02:09 -04:00
|
|
|
<failIfNoTests>false</failIfNoTests>
|
2011-08-02 17:48:03 -04:00
|
|
|
<!--systemProperties>
|
2011-03-03 22:58:19 -05:00
|
|
|
<property>
|
|
|
|
<name>org.eclipse.jetty.io.AbstractBuffer.boundsChecking</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
2011-08-02 17:48:03 -04:00
|
|
|
</systemProperties-->
|
2010-05-03 13:02:09 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2012-09-24 23:24:16 -04:00
|
|
|
<Bundle-SymbolicName>${bundle-symbolic-name}</Bundle-SymbolicName>
|
|
|
|
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
|
2010-05-03 13:02:09 -04:00
|
|
|
<Bundle-DocURL>${jetty.url}</Bundle-DocURL>
|
|
|
|
<Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor>
|
|
|
|
<Bundle-Classpath>.</Bundle-Classpath>
|
2011-05-17 21:52:37 -04:00
|
|
|
<Export-Package>${bundle-symbolic-name}.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</Export-Package>
|
2012-05-08 12:16:53 -04:00
|
|
|
<Bundle-Copyright>Copyright (c) 2008-2012 Mort Bay Consulting Pty. Ltd.</Bundle-Copyright>
|
2010-05-03 13:02:09 -04:00
|
|
|
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-03-31 18:23:19 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-assembly-descriptors</artifactId>
|
2009-04-01 01:05:52 -04:00
|
|
|
<version>1.0</version>
|
2009-03-31 18:23:19 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2010-05-03 13:02:09 -04:00
|
|
|
</plugin>
|
2010-05-24 18:15:48 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<findbugsXmlOutput>true</findbugsXmlOutput>
|
|
|
|
<xmlOutput>true</xmlOutput>
|
2010-05-25 14:27:09 -04:00
|
|
|
<effort>Max</effort>
|
2010-05-24 18:15:48 -04:00
|
|
|
<onlyAnalyze>org.eclipse.jetty.*</onlyAnalyze>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-02-15 09:35:16 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
</plugin>
|
2011-05-19 10:32:49 -04:00
|
|
|
<plugin>
|
2011-05-25 19:05:29 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
2011-05-19 10:32:49 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2011-05-25 19:05:29 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2011-09-08 13:29:27 -04:00
|
|
|
<configuration>
|
|
|
|
<docfilessubdirs>true</docfilessubdirs>
|
2012-02-06 12:01:44 -05:00
|
|
|
<detectLinks>false</detectLinks>
|
2011-09-08 13:29:27 -04:00
|
|
|
<detectJavaApiLink>true</detectJavaApiLink>
|
2012-02-06 12:01:44 -05:00
|
|
|
<excludePackageNames>org.slf4j.*;org.mortbay.*</excludePackageNames>
|
|
|
|
<links>
|
|
|
|
<link>http://download.eclipse.org/jetty/stable-7/apidocs/</link>
|
|
|
|
</links>
|
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<name>org.apache.xbean.XBean</name>
|
|
|
|
<placement>a</placement>
|
|
|
|
<head>Apache XBean:</head>
|
|
|
|
</tag>
|
|
|
|
</tags>
|
|
|
|
</configuration>
|
2011-05-19 10:32:49 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2011-05-25 19:05:29 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2012-06-12 15:32:28 -04:00
|
|
|
<version>2.7.1</version>
|
2011-05-19 10:32:49 -04:00
|
|
|
</plugin>
|
2009-03-24 17:07:27 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
2012-05-08 12:16:53 -04:00
|
|
|
<reporting>
|
2010-06-16 13:21:50 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
2011-10-06 09:24:58 -04:00
|
|
|
<version>2.1</version>
|
2010-06-16 13:21:50 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2011-10-06 09:24:58 -04:00
|
|
|
<version>2.8</version>
|
2010-06-16 13:21:50 -04:00
|
|
|
<configuration>
|
2011-02-15 09:35:16 -05:00
|
|
|
<maxmemory>512m</maxmemory>
|
|
|
|
<docfilessubdirs>true</docfilessubdirs>
|
|
|
|
<detectLinks>true</detectLinks>
|
|
|
|
<detectJavaApiLink>true</detectJavaApiLink>
|
2010-06-16 13:21:50 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2012-06-12 15:45:58 -04:00
|
|
|
<version>2.7.1</version>
|
2010-06-16 13:21:50 -04:00
|
|
|
<configuration>
|
|
|
|
<targetJdk>1.5</targetJdk>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>jetty/pmd_ruleset.xml</ruleset>
|
|
|
|
</rulesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
2011-10-06 09:24:58 -04:00
|
|
|
<version>2.3.2</version>
|
2010-06-16 13:21:50 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2010-05-24 18:40:14 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<id>sonatype-snapshots</id>
|
|
|
|
<name>Sonatype Jetty Snapshots</name>
|
|
|
|
<url>http://oss.sonatype.org/content/groups/jetty</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2009-03-24 17:07:27 -04:00
|
|
|
<modules>
|
2012-09-20 14:51:32 -04:00
|
|
|
<!--module>jetty-ant</module-->
|
2009-03-24 17:07:27 -04:00
|
|
|
<module>jetty-util</module>
|
2011-01-06 13:04:58 -05:00
|
|
|
<module>jetty-jmx</module>
|
2009-03-24 17:07:27 -04:00
|
|
|
<module>jetty-io</module>
|
|
|
|
<module>jetty-http</module>
|
2009-03-28 22:15:22 -04:00
|
|
|
<module>jetty-continuation</module>
|
2009-03-24 17:07:27 -04:00
|
|
|
<module>jetty-server</module>
|
|
|
|
<module>jetty-xml</module>
|
|
|
|
<module>jetty-security</module>
|
|
|
|
<module>jetty-servlet</module>
|
2012-06-06 09:27:56 -04:00
|
|
|
<module>jetty-webapp</module>
|
2012-08-08 19:38:50 -04:00
|
|
|
<module>jetty-spdy</module>
|
2012-06-06 09:27:56 -04:00
|
|
|
<module>jetty-websocket</module>
|
2012-07-13 08:55:40 -04:00
|
|
|
<module>jetty-servlets</module>
|
2012-07-23 00:08:35 -04:00
|
|
|
<module>jetty-util-ajax</module>
|
2012-06-06 10:40:19 -04:00
|
|
|
<module>test-continuation</module>
|
|
|
|
<module>test-jetty-webapp</module>
|
2012-09-20 14:51:32 -04:00
|
|
|
<!--module>jetty-maven-plugin</module>
|
|
|
|
<module>jetty-jspc-maven-plugin</module-->
|
2012-08-08 19:38:50 -04:00
|
|
|
<module>jetty-deploy</module>
|
|
|
|
<module>jetty-start</module>
|
2012-08-09 13:11:20 -04:00
|
|
|
<module>jetty-plugins</module>
|
2012-08-21 17:56:35 -04:00
|
|
|
<module>jetty-plus</module>
|
|
|
|
<module>jetty-annotations</module>
|
|
|
|
<module>jetty-jndi</module>
|
2012-08-29 12:08:52 -04:00
|
|
|
<module>jetty-jsp</module>
|
2012-09-06 00:54:55 -04:00
|
|
|
<module>jetty-distribution</module>
|
2012-09-21 08:26:01 -04:00
|
|
|
<module>jetty-spring</module>
|
2012-09-06 02:45:29 -04:00
|
|
|
<module>jetty-client</module>
|
2012-09-24 01:04:57 -04:00
|
|
|
<module>jetty-osgi</module>
|
2012-10-17 23:29:55 -04:00
|
|
|
<module>example/embedded</module>
|
|
|
|
<module>example/async-rest</module>
|
2012-10-12 08:56:44 -04:00
|
|
|
<module>jetty-rewrite</module>
|
|
|
|
|
2012-08-29 15:59:50 -04:00
|
|
|
<!-- modules that need fixed and added back, or simply dropped and not maintained
|
2012-10-12 08:56:44 -04:00
|
|
|
<module>tests</module>
|
2012-08-30 11:24:49 -04:00
|
|
|
|
2012-08-29 15:59:50 -04:00
|
|
|
<module>jetty-runner</module>
|
|
|
|
<module>jetty-rhttp</module>
|
2012-06-05 08:02:44 -04:00
|
|
|
<module>jetty-jaspi</module>
|
|
|
|
<module>jetty-client</module>
|
2012-08-29 15:59:50 -04:00
|
|
|
<module>jetty-proxy</module>
|
2011-07-20 19:30:44 -04:00
|
|
|
<module>jetty-monitor</module>
|
2011-03-31 03:30:08 -04:00
|
|
|
<module>jetty-nested</module>
|
2011-04-06 05:30:00 -04:00
|
|
|
<module>jetty-overlay-deployer</module>
|
2011-07-26 16:00:29 -04:00
|
|
|
<module>jetty-nosql</module>
|
2011-10-07 12:37:33 -04:00
|
|
|
<module>jetty-http-spi</module>
|
2011-04-04 01:19:17 -04:00
|
|
|
<module>test-jetty-nested</module>
|
2012-02-06 19:32:00 -05:00
|
|
|
-->
|
2009-03-24 17:07:27 -04:00
|
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2012-01-31 16:00:47 -05:00
|
|
|
<!-- Orbit Deps -->
|
2009-03-24 17:07:27 -04:00
|
|
|
<dependency>
|
2012-02-01 18:25:11 -05:00
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet</artifactId>
|
|
|
|
<version>3.0.0.v201112011016</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
</dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.annotation</artifactId>
|
|
|
|
<version>1.1.0.v201108011116</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>org.objectweb.asm</artifactId>
|
|
|
|
<version>3.1.0.v200803061910</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.activation</artifactId>
|
|
|
|
<version>1.1.0.v201105071233</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.mail.glassfish</artifactId>
|
|
|
|
<version>1.4.1.v201005082020</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.transaction</artifactId>
|
|
|
|
<version>1.1.1.v201105210645</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
2012-02-01 10:59:00 -05:00
|
|
|
<artifactId>javax.security.auth.message</artifactId>
|
|
|
|
<version>1.0.0.v201108011116</version>
|
2012-01-31 16:00:47 -05:00
|
|
|
</dependency>
|
2012-02-01 10:59:00 -05:00
|
|
|
<!--
|
2012-01-31 16:00:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp</artifactId>
|
|
|
|
<version>2.1.0.v201105211820</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp.jstl</artifactId>
|
|
|
|
<version>1.2.0.v201105211821</version>
|
|
|
|
</dependency>
|
2012-01-31 17:21:58 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
2012-02-01 10:59:00 -05:00
|
|
|
<artifactId>javax.el</artifactId>
|
|
|
|
<version>2.1.0.v201105211819</version>
|
2012-01-31 17:21:58 -05:00
|
|
|
</dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>com.sun.el</artifactId>
|
|
|
|
<version>1.0.0.v201105211818</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>org.apache.jasper.glassfish</artifactId>
|
|
|
|
<version>2.1.0.v201110031002</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>org.apache.taglibs.standard.glassfish</artifactId>
|
|
|
|
<version>1.2.0.v201112081803</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>org.eclipse.jdt.core</artifactId>
|
|
|
|
<version>3.7.1</version>
|
|
|
|
</dependency>
|
2012-02-01 10:59:00 -05:00
|
|
|
-->
|
2012-01-31 16:00:47 -05:00
|
|
|
|
|
|
|
<!-- Old Deps -->
|
2009-03-24 17:07:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-plugin-tools-api</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-01-28 13:58:47 -05:00
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-test-helper</artifactId>
|
2012-10-10 12:10:51 -04:00
|
|
|
<version>2.0</version>
|
2009-03-24 17:07:27 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl104-over-slf4j</artifactId>
|
|
|
|
<version>${slf4j-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
2011-08-16 16:23:41 -04:00
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
2009-03-24 17:07:27 -04:00
|
|
|
<version>${slf4j-version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j-version}</version>
|
|
|
|
</dependency>
|
2012-09-20 14:42:21 -04:00
|
|
|
<!-- NOTICE: we no longer use junit.jar as it bundles/aggregates too many
|
2012-09-21 11:34:21 -04:00
|
|
|
3rd party libraries in itself
|
2011-01-28 13:58:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2012-09-20 13:09:33 -04:00
|
|
|
<version>4.8.1</version>
|
2012-09-20 14:42:21 -04:00
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit-dep</artifactId>
|
|
|
|
<version>4.10</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<version>1.2.1</version>
|
2011-01-28 13:58:47 -05:00
|
|
|
</dependency>
|
2012-05-08 12:16:53 -04:00
|
|
|
<dependency>
|
2012-07-26 13:38:55 -04:00
|
|
|
<groupId>org.hamcrest</groupId>
|
2012-09-20 14:42:21 -04:00
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<version>1.2.1</version>
|
2012-05-08 12:16:53 -04:00
|
|
|
</dependency>
|
2011-09-30 05:54:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.8.5</version>
|
2012-09-20 14:42:21 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2011-09-30 05:54:35 -04:00
|
|
|
</dependency>
|
2009-03-24 17:07:27 -04:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2010-04-27 10:35:42 -04:00
|
|
|
<!--
|
2009-04-10 14:43:18 -04:00
|
|
|
Usage:
|
|
|
|
configure settings.xml for jetty.eclipse.website server entry
|
|
|
|
> mvn -N site:deploy
|
2009-11-24 22:24:13 -05:00
|
|
|
or
|
|
|
|
> mvn -N site:sshdeploy (for ssh users w/passphrase and ssh-agent)
|
2009-04-10 14:43:18 -04:00
|
|
|
-->
|
2009-04-10 14:40:51 -04:00
|
|
|
<profiles>
|
2012-05-08 12:16:53 -04:00
|
|
|
<profile>
|
2012-07-26 13:38:55 -04:00
|
|
|
<id>release</id>
|
2011-02-10 11:13:04 -05:00
|
|
|
<modules>
|
2012-07-26 13:38:55 -04:00
|
|
|
<!--
|
2011-02-10 11:13:04 -05:00
|
|
|
<module>jetty-aggregate</module>
|
2012-07-26 13:38:55 -04:00
|
|
|
-->
|
2011-02-10 11:13:04 -05:00
|
|
|
</modules>
|
|
|
|
</profile>
|
2011-08-19 15:13:54 -04:00
|
|
|
<profile>
|
|
|
|
<id>update-version</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
|
|
<artifactId>jetty-version-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>gen-versiontxt</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2011-10-06 10:20:57 -04:00
|
|
|
<goal>update-version-text</goal>
|
2011-08-19 15:13:54 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<refreshTags>true</refreshTags>
|
|
|
|
<copyGenerated>true</copyGenerated>
|
|
|
|
<attachArtifact>false</attachArtifact>
|
|
|
|
<updateDate>true</updateDate>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-02-09 17:45:03 -05:00
|
|
|
<profile>
|
|
|
|
<id>maven-3</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
|
|
|
|
<exists>${basedir}</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-descriptor</id>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-descriptor</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2009-04-10 14:40:51 -04:00
|
|
|
<profile>
|
|
|
|
<id>aggregate-site</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2010-05-03 13:02:09 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludePackageNames>com.acme</excludePackageNames>
|
|
|
|
<links>
|
2011-07-07 04:18:24 -04:00
|
|
|
<link>http://java.sun.com/javase/6/docs/api/</link>
|
|
|
|
<link>http://java.sun.com/javaee/6/docs/api</link>
|
2010-05-03 13:02:09 -04:00
|
|
|
<link>http://junit.sourceforge.net/javadoc/</link>
|
|
|
|
</links>
|
2010-05-26 23:55:16 -04:00
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<name>org.apache.xbean.XBean</name>
|
2010-06-09 21:36:00 -04:00
|
|
|
<placement>X</placement>
|
2010-06-09 15:05:43 -04:00
|
|
|
<head />
|
2010-05-26 23:55:16 -04:00
|
|
|
</tag>
|
|
|
|
</tags>
|
2010-05-03 13:02:09 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2009-04-10 14:40:51 -04:00
|
|
|
</build>
|
|
|
|
</profile>
|
2012-08-16 16:26:38 -04:00
|
|
|
<profile>
|
|
|
|
<id>license-check</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<inherited>false</inherited>
|
|
|
|
<groupId>com.mycila.maven-license-plugin</groupId>
|
|
|
|
<artifactId>maven-license-plugin</artifactId>
|
|
|
|
<version>1.10.b1</version>
|
|
|
|
<configuration>
|
|
|
|
<header>header-template.txt</header>
|
|
|
|
<failIfMissing>true</failIfMissing>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
<strictCheck>true</strictCheck>
|
|
|
|
<properties>
|
|
|
|
<copyright-range>${project.inceptionYear}-2012</copyright-range>
|
|
|
|
</properties>
|
|
|
|
<mapping>
|
|
|
|
<java>DOUBLESLASH_STYLE</java>
|
|
|
|
</mapping>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>jetty-util/src/main/java/org/eclipse/jetty/util/security/UnixCrypt.java</exclude>
|
|
|
|
<exclude>jetty-policy/src/main/java/org/eclipse/jetty/policy/loader/DefaultPolicyLoader.java</exclude>
|
|
|
|
<exclude>jetty-policy/src/main/java/org/eclipse/jetty/policy/loader/PolicyFileScanner.java</exclude>
|
2012-08-21 17:58:16 -04:00
|
|
|
<exlcude>jetty-ant/**</exlcude> <!-- short term, need to add support to accept additional copyrights -->
|
2012-08-16 16:26:38 -04:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-headers</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2009-04-10 14:40:51 -04:00
|
|
|
</profiles>
|
2010-06-09 21:36:00 -04:00
|
|
|
</project>
|