2013-02-01 12:51:50 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright 2013 The Netty Project
|
|
|
|
~
|
|
|
|
~ The Netty Project licenses this file to you under the Apache License,
|
|
|
|
~ version 2.0 (the "License"); you may not use this file except in compliance
|
|
|
|
~ with the License. You may obtain a copy of the License at:
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
~ License for the specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
<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>
|
2013-02-14 21:21:30 +01:00
|
|
|
|
2013-02-01 12:51:50 +01:00
|
|
|
<parent>
|
|
|
|
<groupId>io.netty</groupId>
|
2013-02-14 20:27:26 +01:00
|
|
|
<artifactId>netty-testsuite-osgi-parent</artifactId>
|
2013-07-23 10:04:23 +02:00
|
|
|
<version>4.0.5.Final-SNAPSHOT</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</parent>
|
|
|
|
|
2013-02-14 20:27:26 +01:00
|
|
|
<artifactId>netty-testsuite-osgi-exam</artifactId>
|
2013-02-01 12:51:50 +01:00
|
|
|
<packaging>bundle</packaging>
|
|
|
|
|
2013-02-14 20:27:26 +01:00
|
|
|
<name>Netty/Testsuite/OSGi/Exam</name>
|
2013-02-01 12:51:50 +01:00
|
|
|
<description>verify osgi compliance: run tests inside osgi framework</description>
|
|
|
|
|
|
|
|
<properties>
|
2013-05-01 17:20:18 +02:00
|
|
|
<pax.exam.version>3.0.3</pax.exam.version>
|
|
|
|
<pax.url.version>1.5.2</pax.url.version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</properties>
|
2013-02-14 21:21:30 +01:00
|
|
|
|
2013-02-01 12:51:50 +01:00
|
|
|
<dependencies>
|
|
|
|
<!-- MAIN -->
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Include all Netty OSGI bundle release modules. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-buffer</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-codec-socks</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-rxtx</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-sctp</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-udt</artifactId>
|
|
|
|
<version>${project.version}</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Logging via http://team.ops4j.org/wiki/display/paxlogging/Pax+Logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- OSGI Declarative Services runtime http://felix.apache.org/site/apache-felix-service-component-runtime.html -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.scr</artifactId>
|
|
|
|
<version>1.6.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- OSGI specification. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.core</artifactId>
|
|
|
|
<version>4.3.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
|
|
<version>4.3.1</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2013-02-01 12:51:50 +01:00
|
|
|
<!-- TEST -->
|
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Transport UDT tests and dependencies. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>netty-transport-udt</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.yammer.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.caliper</groupId>
|
|
|
|
<artifactId>caliper</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Pax Exam test environment. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-container-native</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-junit4</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-invoker-junit</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-inject</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-extender-service</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
|
|
<artifactId>pax-exam-link-mvn</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.exam.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
|
|
<artifactId>pax-url-aether</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.url.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
|
|
<artifactId>pax-url-wrap</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>${pax.url.version}</version>
|
2013-02-14 21:21:30 +01:00
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2013-02-14 21:21:30 +01:00
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.framework</artifactId>
|
|
|
|
<version>4.0.3</version>
|
|
|
|
<scope>test</scope>
|
2013-02-01 12:51:50 +01:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Make dependency versions available for Pax Exam. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-depends-file</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2013-02-14 21:21:30 +01:00
|
|
|
<goal>generate-depends-file</goal>
|
2013-02-01 12:51:50 +01:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-02-14 21:21:30 +01:00
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Generate OSGI Declarative Services component descriptors. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.carrotgarden.maven</groupId>
|
|
|
|
<artifactId>carrot-maven-scr-plugin</artifactId>
|
2013-05-01 17:20:18 +02:00
|
|
|
<version>3.0.3</version>
|
2013-02-01 12:51:50 +01:00
|
|
|
<configuration>
|
|
|
|
<targetDirectorySCR>OSGI-INF/service-component</targetDirectorySCR>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2013-05-01 17:20:18 +02:00
|
|
|
<phase>generate-test-sources</phase>
|
2013-02-14 21:21:30 +01:00
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
2013-02-01 12:51:50 +01:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Include OSGI Declarative Services component descriptors in the bundle. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
2013-03-19 08:48:53 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-test-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2013-02-01 12:51:50 +01:00
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Service-Component>OSGI-INF/service-component/*.xml</Service-Component>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Invoke integration tests. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2013-03-19 08:48:53 +01:00
|
|
|
<phase>test</phase>
|
2013-02-01 12:51:50 +01:00
|
|
|
<goals>
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
<goal>verify</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-02-14 21:21:30 +01:00
|
|
|
|
2013-05-01 17:20:18 +02:00
|
|
|
<!-- Do not deploy this artifact. -->
|
2013-02-01 12:51:50 +01:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2013-02-14 21:43:16 +01:00
|
|
|
|
2013-02-01 12:51:50 +01:00
|
|
|
<pluginManagement>
|
2013-02-14 21:21:30 +01:00
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
|
|
<versionRange>[0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>generate-depends-file</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<execute />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2013-05-01 17:20:18 +02:00
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<versionRange>[0,)</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<execute />
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
2013-02-14 21:21:30 +01:00
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2013-02-01 12:51:50 +01:00
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</project>
|