555 lines
24 KiB
XML
555 lines
24 KiB
XML
<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>
|
|
<version>7.0.0.M3-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>jetty-distribution</artifactId>
|
|
<name>Jetty :: Distribution Assemblies</name>
|
|
<packaging>pom</packaging>
|
|
<properties>
|
|
<assembly.directory>target/distribution</assembly.directory>
|
|
<slf4j-version>1.5.6</slf4j-version>
|
|
<jsp-2-1-version>9.1.1.B60.25.p1</jsp-2-1-version>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<includeEmptyDirs>true</includeEmptyDirs>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>resources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<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>
|
|
<resourceBundle>org.eclipse.jetty.toolchain:jetty-artifact-remote-resources:1.0-SNAPSHOT</resourceBundle>
|
|
<resourceBundle>org.eclipse.jetty.toolchain:jetty-distribution-remote-resources:1.0-SNAPSHOT</resourceBundle>
|
|
</resourceBundles>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-ajp</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jmx</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-util</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-plus</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>config</classifier>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-util</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-io</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-http</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-security</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-servlet</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-servlets</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-xml</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-deploy</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jmx</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-ajp</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-annotations</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jndi</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-api-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-plus</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-continuation</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>war</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/webapps</outputDirectory>
|
|
<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>
|
|
<outputDirectory>${assembly.directory}</outputDirectory>
|
|
<destFileName>start.jar</destFileName>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib/slf4j</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl104-over-slf4j</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib/slf4j</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
<type>jar</type>
|
|
<overWrite>true</overWrite>
|
|
<includes>**</includes>
|
|
<outputDirectory>${assembly.directory}/lib/slf4j</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>ant</groupId>
|
|
<artifactId>ant</artifactId>
|
|
<version>${ant-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.eclipse.jdt</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>${eclipse-compiler-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-api-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jsp-2.1</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>${mail-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-jndi</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>${activation-version}</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-jndi</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-annotation_1.0_spec</artifactId>
|
|
<version>1.1.1</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-annotations</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
<version>3.1</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-annotations</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm</artifactId>
|
|
<version>3.1</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-annotations</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-tree</artifactId>
|
|
<version>3.1</version>
|
|
<outputDirectory>${assembly.directory}/lib/jetty-annotations</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/jetty.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-deploy</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-rewrite</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-ajp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-annotations</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
<type>war</type>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jmx</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-jndi</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-plus</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-continuation</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-start</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-api-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>jsp-2.1-glassfish</artifactId>
|
|
<version>${jsp-2-1-version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|
|
|