| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>brooklyn-itest</artifactId> |
| <name>Brooklyn Karaf pax-exam itest</name> |
| |
| <parent> |
| <groupId>org.apache.brooklyn</groupId> |
| <artifactId>brooklyn-dist-karaf</artifactId> |
| <version>1.1.0-SNAPSHOT</version> <!-- BROOKLYN_VERSION --> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <properties> |
| <includedTestGroups /> |
| <excludedTestGroups>org.apache.brooklyn.test.IntegrationTest</excludedTestGroups> |
| </properties> |
| |
| <dependencies> |
| <!-- Pax Exam Dependencies --> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-junit4</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-invoker-junit</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Karaf Container --> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-container-karaf</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-inject</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-extender-service</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Preferred link because it does not require an mvn url handler implicitely. --> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-link-mvn</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-link-assembly</artifactId> |
| <version>${pax.exam.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> <!-- TODO: version property? --> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <version>${org.osgi.core.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>${org.osgi.compendium.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- framework to test with --> |
| <dependency> |
| <groupId>org.apache.karaf.features</groupId> |
| <artifactId>standard</artifactId> |
| <version>${karaf.version}</version> |
| <type>xml</type> |
| <classifier>features</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.features</groupId> |
| <artifactId>org.apache.karaf.features.core</artifactId> |
| <version>${karaf.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.system</groupId> |
| <artifactId>org.apache.karaf.system.core</artifactId> |
| <version>${karaf.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>apache-karaf</artifactId> |
| <version>${karaf.version}</version> |
| <type>zip</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.karaf.shell</groupId> |
| <artifactId>org.apache.karaf.shell.dev</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- project deps --> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-features</artifactId> |
| <version>${project.version}</version> |
| <type>xml</type> |
| <classifier>features</classifier> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>apache-brooklyn</artifactId> |
| <version>${project.version}</version> |
| <type>zip</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <version>${geronimo-jta_1.1_spec.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-rest-resources</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-rest-resources</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-utils-common</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.tinybundles</groupId> |
| <artifactId>tinybundles</artifactId> |
| <version>${tinybundles.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.brooklyn</groupId> |
| <artifactId>brooklyn-core</artifactId> |
| <version>${project.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>brooklyn-utils-common</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>depends-maven-plugin</artifactId> |
| <version>1.2</version> |
| <executions> |
| <execution> |
| <id>generate-depends-file</id> |
| <goals> |
| <goal>generate-depends-file</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <groups>${includedTestGroups}</groups> |
| <excludedGroups>${excludedTestGroups}</excludedGroups> |
| <systemPropertyVariables> |
| <org.ops4j.pax.url.mvn.localRepository>${settings.localRepository}</org.ops4j.pax.url.mvn.localRepository> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>Integration</id> |
| <properties> |
| <includedTestGroups>org.apache.brooklyn.test.IntegrationTest</includedTestGroups> |
| <excludedTestGroups /> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |