- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <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>bcprov-ext-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>