1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright © 2016, 2017 Red Hat, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
15 Internal parent for testing single Karaf features. This parent should not be used by downstreams,
16 who should use single-feature-parent.
20 <groupId>org.opendaylight.odlparent</groupId>
21 <artifactId>odlparent</artifactId>
22 <version>13.0.6</version>
23 <relativePath>../odlparent</relativePath>
26 <artifactId>abstract-feature-parent</artifactId>
27 <packaging>pom</packaging>
28 <name>ODL :: odlparent :: ${project.artifactId}</name>
31 <checkDependencyChange>false</checkDependencyChange>
32 <failOnDependencyChange>false</failOnDependencyChange>
34 <jacoco.skip>true</jacoco.skip>
35 <skip.karaf.featureTest>false</skip.karaf.featureTest>
37 <!-- We typically do not have code in feature artifacts, which throws off maven-dependency-plugin -->
38 <odlparent.dependency.skip>true</odlparent.dependency.skip>
42 <!-- Test the generated features.xml -->
44 <groupId>org.opendaylight.odlparent</groupId>
45 <artifactId>features-test</artifactId>
46 <version>13.0.6</version>
50 <groupId>org.opendaylight.odlparent</groupId>
51 <artifactId>bundles-test-lib</artifactId>
55 <groupId>org.apache.karaf.bundle</groupId>
56 <artifactId>org.apache.karaf.bundle.core</artifactId>
57 <version>${karaf.version}</version>
60 <!-- Force SLF4J to test scope -->
62 <groupId>org.slf4j</groupId>
63 <artifactId>slf4j-api</artifactId>
71 <!-- This generates the META-INF/maven/dependencies.properties file
72 which is required by the versionAsInProject() used in SingleFeatureTest -->
73 <groupId>org.apache.servicemix.tooling</groupId>
74 <artifactId>depends-maven-plugin</artifactId>
77 <artifactId>maven-surefire-plugin</artifactId>
79 <!-- Overridden to fix corruption with SFT, where the process would hang after test -->
80 <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
82 <dependency>org.opendaylight.odlparent:features-test</dependency>
84 <additionalClasspathElements>
85 <additionalClasspathElement>${project.build.directory}/feature</additionalClasspathElement>
86 </additionalClasspathElements>
87 <skip>${skip.karaf.featureTest}</skip>
88 <systemPropertyVariables>
89 <!-- Use the same repository for Pax Exam as is used for Maven -->
90 <org.ops4j.pax.url.mvn.localRepository>${settings.localRepository}</org.ops4j.pax.url.mvn.localRepository>
91 </systemPropertyVariables>
93 <!-- Disable argLine if present, but pass it to SFT -->
94 <argLine>-DsftArgLine='@{argLine}'</argLine>
112 <!-- Karaf does not have jre.properties for JDK19+ just yet -->
117 <skip.karaf.featureTest>true</skip.karaf.featureTest>
123 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
124 <artifactId>echo-maven-plugin</artifactId>
127 <id>UNTESTED-JDK</id>
133 <message>Running on JDK newer than 18, which is not supported. Skipping feature tests.</message>