<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>3.0.1-SNAPSHOT</version>
+ <version>6.0.3-SNAPSHOT</version>
<relativePath>../../odlparent</relativePath>
</parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>karaf4-parent</artifactId>
- <version>3.0.1-SNAPSHOT</version>
+ <version>6.0.3-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ODL :: odlparent :: ${project.artifactId}</name>
<!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
<artifactId>org.osgi.service.event</artifactId>
</dependency>
+
+ <!-- Optional dependency of karaf.config.core -->
<dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-ext-jdk15on</artifactId>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.metatype</artifactId>
</dependency>
<!-- ODL Branding -->
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf-resources</artifactId>
</dependency>
+
+ <!-- BouncyCastle Framework Extension Bundles -->
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>bcpkix-framework-ext</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>bcprov-framework-ext</artifactId>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>karaf-plugin</artifactId>
+ <version>6.0.3-SNAPSHOT</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<skip>true</skip>
</configuration>
</plugin>
- <plugin>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>karaf-plugin</artifactId>
- <version>3.0.1-SNAPSHOT</version>
- <executions>
- <execution>
- <id>populate-local-repo</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>populate-local-repo</goal>
- </goals>
- <configuration>
- <localRepo>${project.build.directory}/assembly/system</localRepo>
- </configuration>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>copy</id>
+ <id>apply-branding</id>
<goals>
<goal>copy</goal>
</goals>
<artifactItem>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>karaf.branding</artifactId>
- <version>3.0.1-SNAPSHOT</version>
+ <version>6.0.3-SNAPSHOT</version>
<outputDirectory>target/assembly/lib</outputDirectory>
- <destFileName>karaf.branding-3.0.0-SNAPSHOT.jar</destFileName>
+ <destFileName>karaf.branding-3.0.3-SNAPSHOT.jar</destFileName>
</artifactItem>
</artifactItems>
+ <silent>true</silent>
</configuration>
</execution>
<execution>
<excludes>META-INF\/**</excludes>
<excludeTransitive>true</excludeTransitive>
<ignorePermissions>false</ignorePermissions>
+ <silent>true</silent>
</configuration>
</execution>
<execution>
<overWriteSnapshots>true</overWriteSnapshots>
</configuration>
</execution>
+ <execution>
+ <!-- Override karaf-4.2.6+ use of pax-logging-1.10.2+ -->
+ <id>add-pax-logging-1.10.1</id>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <phase>prepare-package</phase>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.ops4j.pax.logging</groupId>
+ <artifactId>pax-logging-api</artifactId>
+ <version>1.10.1</version>
+ <outputDirectory>${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-api/1.10.1</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.ops4j.pax.logging</groupId>
+ <artifactId>pax-logging-logback</artifactId>
+ <version>1.10.1</version>
+ <outputDirectory>${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-logback/1.10.1</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.ops4j.pax.logging</groupId>
+ <artifactId>pax-logging-log4j2</artifactId>
+ <version>1.10.1</version>
+ <outputDirectory>${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-log4j2/1.10.1</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>karaf-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>populate-local-repo</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>populate-local-repo</goal>
+ </goals>
+ <configuration>
+ <localRepo>${project.build.directory}/assembly/system</localRepo>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
</target>
</configuration>
</execution>
+ <execution>
+ <id>remove-pax-logging-1.10.2</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <delete dir="${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-api/1.10.2"
+ includeemptydirs="true"/>
+ <delete dir="${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-logback/1.10.2"
+ includeemptydirs="true"/>
+ <delete dir="${project.build.directory}/assembly/system/org/ops4j/pax/logging/pax-logging-log4j2/1.10.2"
+ includeemptydirs="true"/>
+ </target>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
- <version>${karaf.plugin.version}</version>
+ <version>${karaf.version}</version>
<executions>
<execution>
<id>process-resources</id>
</installedFeatures>
<bootFeatures>
<feature>standard</feature>
- <!-- We load wrap as a workaround to handle old features without the wrap prerequisite -->
- <!-- TODO Remove this once all the downstream features are fixed -->
- <feature>wrap</feature>
+ <!-- Features always assumed to be present. Keep in sync with feature parent exclusions. -->
+ <feature>ssh</feature>
<!-- Local feature if any -->
<feature>${karaf.localFeature}</feature>
</bootFeatures>