2010-07-27 18:08:29 -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">
|
|
|
|
<parent>
|
|
|
|
<groupId>org.eclipse.jetty.osgi</groupId>
|
|
|
|
<artifactId>jetty-osgi-project</artifactId>
|
2012-02-06 19:32:00 -05:00
|
|
|
<version>9.0.0-SNAPSHOT</version>
|
2010-07-27 18:08:29 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>test-jetty-osgi</artifactId>
|
|
|
|
<name>Jetty :: OSGi :: Test</name>
|
|
|
|
<description>Jetty OSGi Integration test</description>
|
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}.boot.test</bundle-symbolic-name>
|
2012-02-01 18:25:08 -05:00
|
|
|
<jetty-orbit-url>http://download.eclipse.org/jetty/orbit/</jetty-orbit-url>
|
2010-07-27 18:08:29 -04:00
|
|
|
<assembly-directory>target/distribution</assembly-directory>
|
2012-01-20 16:17:51 -05:00
|
|
|
<paxexam-version>1.2.0</paxexam-version>
|
2010-07-27 18:08:29 -04:00
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2012-01-31 16:00:47 -05:00
|
|
|
<!-- Orbit Servlet Deps -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.orbit</groupId>
|
|
|
|
<artifactId>javax.servlet</artifactId>
|
|
|
|
</dependency>
|
2012-02-01 10:59:00 -05:00
|
|
|
|
2012-01-31 16:00:47 -05:00
|
|
|
<!-- Orbit JSP Deps -->
|
|
|
|
<dependency>
|
2012-02-01 10:59:00 -05:00
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jsp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2012-01-31 16:00:47 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- OSGi Deps -->
|
2010-07-27 18:08:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.osgi</groupId>
|
|
|
|
<artifactId>jetty-osgi-boot</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.osgi</groupId>
|
|
|
|
<artifactId>jetty-osgi-boot-jsp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty.osgi</groupId>
|
|
|
|
<artifactId>jetty-httpservice</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
|
|
|
|
<!-- Jetty Deps -->
|
2010-07-27 18:08:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-deploy</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2010-07-27 18:08:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-xml</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2011-01-06 13:04:58 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-jmx</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2010-07-27 18:08:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-websocket</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
|
|
|
|
<!-- Eclipse OSGi Deps -->
|
2010-07-27 18:08:29 -04:00
|
|
|
<dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi</artifactId>
|
2010-07-27 18:08:29 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2012-01-31 16:00:47 -05:00
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi.services</artifactId>
|
2010-07-27 18:08:29 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.equinox.http</groupId>
|
|
|
|
<artifactId>servlet</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>test-jetty-webapp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>webbundle</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam</artifactId>
|
2012-01-20 16:17:51 -05:00
|
|
|
<version>${paxexam-version}</version>
|
|
|
|
<scope>test</scope>
|
2010-07-27 18:08:29 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-junit</artifactId>
|
2012-01-20 16:17:51 -05:00
|
|
|
<version>${paxexam-version}</version>
|
2010-07-27 18:08:29 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-container-default</artifactId>
|
2012-01-20 16:17:51 -05:00
|
|
|
<version>${paxexam-version}</version>
|
2010-07-27 18:08:29 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2012-01-31 16:00:47 -05:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>maven-paxexam-plugin</artifactId>
|
|
|
|
<version>${paxexam-version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-config</id>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-depends-file</goal>
|
|
|
|
<goal>generate-config</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<options>
|
|
|
|
<workingDirectory>${project.build.directory}/paxexam</workingDirectory>
|
|
|
|
</options>
|
|
|
|
</configuration>
|
2010-07-27 18:08:29 -04:00
|
|
|
</plugin>
|
2012-01-31 16:00:47 -05:00
|
|
|
|
2010-07-27 18:08:29 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2012-01-31 16:00:47 -05:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2010-07-27 18:08:29 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2012-01-31 16:00:47 -05:00
|
|
|
<id>copy-orbit-servlet-api-deps</id>
|
2010-07-27 18:08:29 -04:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2012-01-31 16:00:47 -05:00
|
|
|
<goal>copy</goal>
|
2010-07-27 18:08:29 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2012-01-31 16:00:47 -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>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>copy-orbit-lib-jndi-deps</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
|
|
|
<includeArtifactIds>javax.mail.glassfish,javax.activation</includeArtifactIds>
|
|
|
|
<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>
|
|
|
|
<includeGroupIds>org.eclipse.jetty.orbit</includeGroupIds>
|
|
|
|
<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>
|
2010-07-27 18:08:29 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2012-01-31 16:00:47 -05:00
|
|
|
</plugin>
|
|
|
|
|
2010-07-27 18:08:29 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
2010-12-01 14:16:08 -05:00
|
|
|
<version>2.8</version>
|
2010-07-27 18:08:29 -04:00
|
|
|
<configuration>
|
|
|
|
<manifest>prevent/overwriting/by/pointing/to/nonexisting/MANIFEST.MF</manifest>
|
|
|
|
<pde>false</pde>
|
|
|
|
<downloadSources>true</downloadSources>
|
|
|
|
<sourceExcludes>
|
|
|
|
<sourceExclude>**/.svn/**</sourceExclude>
|
|
|
|
</sourceExcludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|