blob: 847b80a355d9cccf9056f3258e2289065147fcf1 [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.felix</groupId>
<artifactId>felix-parent</artifactId>
<version>1.2.1</version>
<relativePath>../../../pom/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.apache.felix.ipojo.runtime.core-it</artifactId>
<version>1.9.0-SNAPSHOT</version>
<name>Apache Felix iPOJO Runtime Project ~ Core Integration Tests</name>
<packaging>pom</packaging>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>.</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE*</include>
<include>NOTICE*</include>
<include>DEPENDENCIES*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>generate-config</id>
<goals>
<goal>generate-depends-file</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<exam.version>3.0.0</exam.version>
<url.version>1.5.1</url.version>
</properties>
<dependencies>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-native</artifactId>
<version>${exam.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId>
<version>${exam.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-link-mvn</artifactId>
<version>${exam.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId>
<version>${url.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>4.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>0.9.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>0.9.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.9.5</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.tinybundles</groupId>
<artifactId>tinybundles</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.ipojo</artifactId>
<version>1.9.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.ipojo.manipulator</artifactId>
<version>1.9.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
<version>1.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.ow2.chameleon.testing</groupId>
<artifactId>osgi-helpers</artifactId>
<version>0.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.chameleon.testing</groupId>
<artifactId>tinybundles-ipojo</artifactId>
<version>0.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
<!--
We use the released version as we don't really have to do any behavioral test on the handler in the core
test.
-->
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.log</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-wrap</artifactId>
<version>1.5.2</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>project</descriptorRef>
</descriptorRefs>
<!-- we don't want to attach all the assemblies, such as bz2 -->
<attach>false</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-assemblies</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>
${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
</file>
<classifier>project</classifier>
<type>tar.gz</type>
</artifact>
<artifact>
<file>
${project.build.directory}/${project.artifactId}-${project.version}-project.zip
</file>
<classifier>project</classifier>
<type>zip</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>knopflerfish</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>pax.exam.framework</name>
<value>knopflerfish</value>
</property>
</activation>
<properties>
<pax.exam.framework>knopflerfish</pax.exam.framework>
</properties>
<repositories>
<repository>
<id>knopflerfish-releases</id>
<url>http://www.knopflerfish.org/maven2</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.knopflerfish</groupId>
<artifactId>framework</artifactId>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>equinox</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>pax.exam.framework</name>
<value>equinox</value>
</property>
</activation>
<properties>
<pax.exam.framework>equinox</pax.exam.framework>
</properties>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<version>3.8.1.v20120830-144521</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>felix</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>pax.exam.framework</name>
<value>felix</value>
</property>
</activation>
<properties>
<pax.exam.framework>felix</pax.exam.framework>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>4.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.8</version>
<configuration>
<streamLogs>true</streamLogs>
<goals>
<goal>clean</goal>
<goal>test</goal>
</goals>
<cloneClean>true</cloneClean>
</configuration>
<executions>
<execution>
<id>regular</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<profiles>
<profile>felix</profile>
</profiles>
<cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>test-all</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>1.8</version>
<configuration>
<streamLogs>true</streamLogs>
<goals>
<goal>clean</goal>
<goal>test</goal>
</goals>
<cloneClean>true</cloneClean>
</configuration>
<executions>
<execution>
<id>equinox-native</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<profiles>
<profile>equinox</profile>
</profiles>
<cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
</configuration>
</execution>
<execution>
<id>felix-native</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<profiles>
<profile>felix</profile>
</profiles>
<cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
</configuration>
</execution>
<execution>
<id>knopflerfish-native</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<profiles>
<profile>knopflerfish</profile>
</profiles>
<cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>