<parent>
<groupId>org.opendaylight.odlparent</groupId>
- <artifactId>untested-single-feature-parent</artifactId>
- <version>7.0.4-SNAPSHOT</version>
- <relativePath>../untested-single-feature-parent</relativePath>
+ <artifactId>abstract-feature-parent</artifactId>
+ <version>14.0.0-SNAPSHOT</version>
+ <relativePath>../abstract-feature-parent</relativePath>
</parent>
<artifactId>single-feature-parent</artifactId>
<name>ODL :: odlparent :: ${project.artifactId}</name>
<properties>
- <jacoco.skip>true</jacoco.skip>
- <skip.karaf.featureTest>false</skip.karaf.featureTest>
+ <!-- See https://issues.apache.org/jira/browse/MINSTALL-151 -->
+ <allowIncompleteProjects>true</allowIncompleteProjects>
</properties>
- <dependencies>
- <!-- Test the generated features.xml -->
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>features-test</artifactId>
- <version>7.0.4-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>bundles-test-lib</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.core</artifactId>
- <version>${karaf.version}</version>
- <scope>test</scope>
- </dependency>
- <!-- Force SLF4J to test scope -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <!-- required due to https://jira.opendaylight.org/browse/ODLPARENT-136 -->
- <artifactId>osgi.cmpn</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
<build>
+ <pluginManagement>
+ <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.karaf.tooling</groupId>
+ <artifactId>karaf-maven-plugin</artifactId>
+ <versionRange>[4.1.5,)</versionRange>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore/>>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
<plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <!-- Overridden to have TCP channel support -->
- <version>3.0.0-M5</version>
- <configuration>
- <!-- Overridden to fix corruption with SFT, where the process would hang after test -->
- <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
- <dependenciesToScan>
- <dependency>org.opendaylight.odlparent:features-test</dependency>
- </dependenciesToScan>
- <additionalClasspathElements>
- <additionalClasspathElement>${project.build.directory}/feature</additionalClasspathElement>
- </additionalClasspathElements>
- <skip>${skip.karaf.featureTest}</skip>
- <systemPropertyVariables>
- <!-- Use the same repository for Pax Exam as is used for Maven -->
- <org.ops4j.pax.url.mvn.localRepository>${settings.localRepository}</org.ops4j.pax.url.mvn.localRepository>
- </systemPropertyVariables>
+ <groupId>org.apache.karaf.tooling</groupId>
+ <artifactId>karaf-maven-plugin</artifactId>
+ <version>${karaf.version}</version>
+ <extensions>true</extensions>
+ <configuration combine.children="append">
+ <enableGeneration>true</enableGeneration>
+ <simplifyBundleDependencies>true</simplifyBundleDependencies>
+ <checkDependencyChange>${checkDependencyChange}</checkDependencyChange>
+ <logDependencyChanges>true</logDependencyChanges>
+ <failOnDependencyChange>${failOnDependencyChange}</failOnDependencyChange>
+ <excludedArtifactIds>
+ <!-- These artifacts are provided by our Karaf distribution. -->
+ <!-- Keep in synch with karaf parent minimal bootFeatures. -->
+ <!-- Aries Blueprint -->
+ <excludedArtifactId>org.apache.aries.blueprint.api</excludedArtifactId>
+ <excludedArtifactId>org.apache.aries.blueprint.core</excludedArtifactId>
+ <!-- Aries Quiesce -->
+ <excludedArtifactId>org.apache.aries.quiesce.api</excludedArtifactId>
+ <!-- jline -->
+ <excludedArtifactId>jline</excludedArtifactId>
+ <!-- SLF4J -->
+ <excludedArtifactId>slf4j-api</excludedArtifactId>
+ <excludedArtifactId>jcl-over-slf4j</excludedArtifactId>
+ <!-- Karaf artifacts -->
+ <!-- TODO Rework this once Karaf supports wildcards here -->
+ <excludedArtifactId>org.apache.karaf.jaas.config</excludedArtifactId>
+ <excludedArtifactId>org.apache.karaf.jaas.modules</excludedArtifactId>
+ <excludedArtifactId>org.apache.karaf.shell.console</excludedArtifactId>
+ <excludedArtifactId>org.apache.karaf.shell.core</excludedArtifactId>
+ <!-- OSGi -->
+ <excludedArtifactId>org.osgi.compendium</excludedArtifactId>
+ <excludedArtifactId>org.osgi.core</excludedArtifactId>
+ <excludedArtifactId>org.osgi.enterprise</excludedArtifactId>
+ <!-- Bouncy Castle -->
+ <excludedArtifactId>bcprov-jdk18on</excludedArtifactId>
+ <excludedArtifactId>bcpkix-jdk18on</excludedArtifactId>
+ <excludedArtifactId>bcutil-jdk18on</excludedArtifactId>
+ <!-- JAXB -->
+ <excludedArtifactId>jaxb-api</excludedArtifactId>
+ <excludedArtifactId>jaxb-runtime</excludedArtifactId>
+ <excludedArtifactId>jakarta.xml.bind-api</excludedArtifactId>
+
+ <!-- Guava's annotations -->
+ <excludedArtifactId>error_prone_annotations</excludedArtifactId>
+ <excludedArtifactId>j2objc-annotations</excludedArtifactId>
+ <excludedArtifactId>listenablefuture</excludedArtifactId>
+
+ <!-- Eclipse JDK annotations -->
+ <excludedArtifactId>org.eclipse.jdt.annotation</excludedArtifactId>
+
+ <!-- Immutables.org annotations -->
+ <excludedArtifactId>value</excludedArtifactId>
+
+ <!-- Our slf4j logging markers -->
+ <excludedArtifactId>logging-markers</excludedArtifactId>
+ </excludedArtifactIds>
</configuration>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
</build>
-
</project>