2009-08-09 19:42:32 -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-project</artifactId>
|
2012-01-27 09:13:06 -05:00
|
|
|
<version>7.6.1-SNAPSHOT</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>jetty-distribution</artifactId>
|
|
|
|
<name>Jetty :: Distribution Assemblies</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
2010-05-05 13:50:07 -04:00
|
|
|
<assembly-directory>target/distribution</assembly-directory>
|
2009-08-09 19:42:32 -04:00
|
|
|
</properties>
|
2010-04-27 15:28:44 -04:00
|
|
|
<build>
|
2009-08-09 19:42:32 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2010-06-16 13:21:50 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2009-08-09 19:42:32 -04:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2010-06-16 13:21:50 -04:00
|
|
|
<id>copy-base-assembly-tree</id>
|
2009-08-09 19:42:32 -04:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2010-06-16 13:21:50 -04:00
|
|
|
<goal>copy-resources</goal>
|
2009-08-09 19:42:32 -04:00
|
|
|
</goals>
|
2010-06-16 13:21:50 -04:00
|
|
|
<configuration>
|
|
|
|
<useBuildFilters>false</useBuildFilters>
|
|
|
|
<includeEmptyDirs>true</includeEmptyDirs>
|
|
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
2009-08-09 19:42:32 -04:00
|
|
|
</execution>
|
2009-09-09 17:06:31 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-08-09 19:42:32 -04:00
|
|
|
<plugin>
|
2009-09-09 16:48:59 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2010-05-05 13:50:07 -04:00
|
|
|
<chmod dir="${assembly-directory}/bin" perm="755" includes="**/*.sh" />
|
2009-09-09 16:48:59 -04:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2009-08-09 19:42:32 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2009-09-09 16:48:59 -04:00
|
|
|
<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>
|
|
|
|
<resourceBundle>org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.0</resourceBundle>
|
|
|
|
<resourceBundle>org.eclipse.jetty.toolchain:jetty-distribution-remote-resources:1.1</resourceBundle>
|
|
|
|
</resourceBundles>
|
2010-05-05 13:50:07 -04:00
|
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
2009-09-09 16:48:59 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-08-09 19:42:32 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactItems>
|
2011-08-19 13:52:48 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-project</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>version</classifier>
|
|
|
|
<type>txt</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${assembly-directory}/</outputDirectory>
|
|
|
|
<destFileName>VERSION.txt</destFileName>
|
|
|
|
</artifactItem>
|
2009-08-09 19:42:32 -04:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<includes>**</includes>
|
2010-05-05 13:50:07 -04:00
|
|
|
<outputDirectory>${assembly-directory}/webapps</outputDirectory>
|
2009-08-09 19:42:32 -04:00
|
|
|
<destFileName>test.war</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-start</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<includes>**</includes>
|
2010-05-05 13:50:07 -04:00
|
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
2009-08-09 19:42:32 -04:00
|
|
|
<destFileName>start.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2011-09-16 12:48:19 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy-lib-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
2012-01-23 11:12:48 -05:00
|
|
|
<excludeGroupIds>org.eclipse.jetty.orbit</excludeGroupIds>
|
2011-11-14 21:53:52 -05:00
|
|
|
<excludeArtifactIds>jetty-start,jetty-monitor</excludeArtifactIds>
|
2011-09-16 12:48:19 -04:00
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<outputDirectory>${assembly-directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2012-01-20 16:59:33 -05:00
|
|
|
<execution>
|
2012-01-23 11:12:48 -05:00
|
|
|
<id>copy-orbit-servlet-api-deps</id>
|
2012-01-20 16:59:33 -05:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2012-01-23 11:12:48 -05:00
|
|
|
<goal>copy</goal>
|
2012-01-20 16:59:33 -05:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-23 11:12:48 -05:00
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet</artifactId>
|
|
|
|
<version>${orbit-servlet-api-version}</version>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${assembly-directory}/lib</outputDirectory>
|
|
|
|
<destFileName>servlet-api-2.5.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
2012-01-20 16:59:33 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-orbit-lib-annotations-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-23 11:12:48 -05:00
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
2012-01-20 16:59:33 -05:00
|
|
|
<includeArtifactIds>javax.annotation,org.objectweb.asm</includeArtifactIds>
|
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<outputDirectory>${assembly-directory}/lib/annotations</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-orbit-lib-jta-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-23 11:12:48 -05:00
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
2012-01-20 16:59:33 -05:00
|
|
|
<includeArtifactIds>javax.transaction</includeArtifactIds>
|
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<outputDirectory>${assembly-directory}/lib/jta</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-orbit-lib-jndi-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-23 11:12:48 -05:00
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
|
|
|
<includeArtifactIds>javax.mail.glassfish,javax.activation</includeArtifactIds>
|
2012-01-20 16:59:33 -05:00
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<outputDirectory>${assembly-directory}/lib/jndi</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-orbit-lib-jsp-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-23 11:12:48 -05:00
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
2012-01-20 16:59:33 -05:00
|
|
|
<includeArtifactIds>com.sun.el,javax.el,javax.servlet.jsp,javax.servlet.jsp.jstl,org.apache.jasper.glassfish,org.apache.taglibs.standard.glassfish,org.eclipse.jdt.core</includeArtifactIds>
|
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<outputDirectory>${assembly-directory}/lib/jsp</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2011-09-16 12:48:19 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy-lib-monitor-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
|
|
|
<includeArtifactIds>jetty-monitor</includeArtifactIds>
|
|
|
|
<includeTypes>jar</includeTypes>
|
|
|
|
<excludeTransitive>true</excludeTransitive>
|
|
|
|
<outputDirectory>${assembly-directory}/lib/monitor</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2011-09-16 13:03:21 -04:00
|
|
|
<execution>
|
|
|
|
<id>unpack-config-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.eclipse.jetty</includeGroupIds>
|
|
|
|
<classifier>config</classifier>
|
|
|
|
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
|
|
|
|
<outputDirectory>${assembly-directory}</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2011-09-16 13:13:21 -04:00
|
|
|
<execution>
|
|
|
|
<id>unpack-javadoc</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<!-- Use already generated javadoc, don't bother regenerating again -->
|
|
|
|
<includeGroupIds>org.eclipse.jetty.aggregate</includeGroupIds>
|
|
|
|
<includeArtifactIds>jetty-all</includeArtifactIds>
|
|
|
|
<includeClassifier>javadoc</includeClassifier>
|
|
|
|
<excludeTransitive>true</excludeTransitive>
|
|
|
|
<outputDirectory>${assembly-directory}/javadoc</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2009-08-12 21:30:40 -04:00
|
|
|
</executions>
|
2009-09-09 16:48:59 -04:00
|
|
|
</plugin>
|
2009-08-09 19:42:32 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/main/assembly/jetty-assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
2011-05-17 09:41:15 -04:00
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
2009-08-09 19:42:32 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2010-06-16 13:21:50 -04:00
|
|
|
<!-- No point performing PMD in assembly project -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- No point performing Findbugs in assembly project -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-08-09 19:42:32 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
2012-01-20 16:59:33 -05:00
|
|
|
<!-- Standard Jetty Deps -->
|
2009-08-09 19:42:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-deploy</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-ajp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-annotations</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
|
|
<type>war</type>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-jmx</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jndi</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2009-09-09 16:48:59 -04:00
|
|
|
<artifactId>jetty-plus</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-09-09 16:48:59 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-09-09 16:48:59 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-continuation</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-09-09 16:48:59 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-start</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2009-09-09 16:48:59 -04:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-policy</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependency>
|
2009-11-23 03:44:37 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2011-09-16 12:48:19 -04:00
|
|
|
<artifactId>jetty-servlets</artifactId>
|
2009-11-23 03:44:37 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2011-04-26 20:51:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2011-09-16 12:48:19 -04:00
|
|
|
<artifactId>jetty-monitor</artifactId>
|
2011-04-26 20:51:08 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2010-04-20 04:49:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2011-07-07 04:18:24 -04:00
|
|
|
<artifactId>jetty-websocket</artifactId>
|
2010-04-20 04:49:19 -04:00
|
|
|
<version>${project.version}</version>
|
2010-04-27 15:28:32 -04:00
|
|
|
</dependency>
|
2011-04-26 20:51:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-overlay-deployer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2011-09-16 13:13:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
|
|
|
<artifactId>jetty-all</artifactId>
|
|
|
|
<classifier>javadoc</classifier>
|
|
|
|
<type>jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2009-08-09 19:42:32 -04:00
|
|
|
</dependencies>
|
2009-09-08 16:31:00 -04:00
|
|
|
</project>
|