Since we are excluding bouncy castle from generated features (and
we want to assume it is installed), we cannot run SFT against
vanilla karaf. This patch adjusts features-test to pull in our
pre-build opendaylight-karaf-empty instead of vanilla upstream.
Change-Id: Ic45ff713e90c0be7c232e0a1cee36b27c83efe95
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
70f33da04cfdd2e9ddea9a322da5e0b9f6610106)
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>apache-karaf</artifactId>
- <version>${karaf.version}</version>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>opendaylight-karaf-empty</artifactId>
<type>zip</type>
</dependency>
<!-- BEWARE of adding additional dependencies here...
* Default values for karaf distro type, groupId, and artifactId
*/
private static final String KARAF_DISTRO_TYPE = "zip";
- private static final String KARAF_DISTRO_ARTIFACTID = "apache-karaf";
- private static final String KARAF_DISTRO_GROUPID = "org.apache.karaf";
+ private static final String KARAF_DISTRO_ARTIFACTID = "opendaylight-karaf-empty";
+ private static final String KARAF_DISTRO_GROUPID = "org.opendaylight.odlparent";
/*
* Property names to override defaults for karaf distro artifactId, groupId, version, and type
-karaf.distro.version=${karaf.version}
+karaf.distro.version=${project.version}
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>opendaylight-karaf-empty</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ <type>zip</type>
+ </dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>