| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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="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.apache.aries.spifly</groupId> |
| <artifactId>spifly</artifactId> |
| <version>1.3.4-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.aries.spifly.itests</artifactId> |
| <name>Apache Aries SPI Fly Integration Tests</name> |
| |
| <properties> |
| <maven.deploy.skip>true</maven.deploy.skip> |
| <maven.install.skip>true</maven.install.skip> |
| <junit-jupiter.version>5.7.1</junit-jupiter.version> |
| <junit-platform.version>1.7.1</junit-platform.version> |
| <assertj.version>3.19.0</assertj.version> |
| <felix.framework.version>7.0.0</felix.framework.version> |
| <mockito.core.version>3.9.0</mockito.core.version> |
| <osgi.test.version>0.10.0</osgi.test.version> |
| </properties> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/aries.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/aries.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=aries.git;a=summary</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <version>${junit-jupiter.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.platform</groupId> |
| <artifactId>junit-platform-commons</artifactId> |
| <version>${junit-platform.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| <version>${junit-jupiter.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.test.junit5</artifactId> |
| <version>${osgi.test.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.test.common</artifactId> |
| <version>${osgi.test.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.test.assertj.framework</artifactId> |
| <version>${osgi.test.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Example Bundles --> |
| |
| <dependency> |
| <groupId>org.apache.aries.spifly.examples</groupId> |
| <artifactId>org.apache.aries.spifly.examples.spi.bundle</artifactId> |
| <version>1.0.2-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Runtime Test dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.aries.spifly</groupId> |
| <artifactId>org.apache.aries.spifly.dynamic.framework.extension</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>${felix.framework.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.log</artifactId> |
| <version>1.2.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.log.extension</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.logback</artifactId> |
| <version>1.0.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>${junit-jupiter.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.platform</groupId> |
| <artifactId>junit-platform-launcher</artifactId> |
| <version>${junit-platform.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.core.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-maven-plugin</artifactId> |
| <version>${bnd.version}</version> |
| <configuration> |
| <bnd><![CDATA[ |
| Test-Cases: ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.platform.commons.annotation.Testable;CONCRETE;PUBLIC} |
| ]]></bnd> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>bnd-process</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-resolver-maven-plugin</artifactId> |
| <version>${bnd.version}</version> |
| <configuration> |
| <bndruns> |
| <bndrun>test.bndrun</bndrun> |
| </bndruns> |
| <failOnChanges>false</failOnChanges> |
| <includeDependencyManagement>true</includeDependencyManagement> |
| <scopes> |
| <scope>compile</scope> |
| <scope>runtime</scope> |
| <scope>test</scope> |
| </scopes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>resolve</id> |
| <goals> |
| <goal>resolve</goal> |
| </goals> |
| <phase>pre-integration-test</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-testing-maven-plugin</artifactId> |
| <version>${bnd.version}</version> |
| <configuration> |
| <bndruns> |
| <bndrun>test.bndrun</bndrun> |
| </bndruns> |
| <failOnChanges>false</failOnChanges> |
| <includeDependencyManagement>true</includeDependencyManagement> |
| <resolve>false</resolve> |
| <scopes> |
| <scope>compile</scope> |
| <scope>runtime</scope> |
| <scope>test</scope> |
| </scopes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>testing</id> |
| <goals> |
| <goal>testing</goal> |
| </goals> |
| <phase>integration-test</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |