Karaf 4.2.9
Cave 4.2.1
I have created a custom distribution including Cave 4.2.1 that will be
installed on a disconnected server. Installing the feature cave-repository
fails with the following error:
karaf@root()> feature:install cave-repository
Error executing command: Error:
Error downloading mvn:org.apache.cxf.karaf/cxf-karaf-commands/3.3.4
Adding the feature cxf-commands to the installedFeatures within the
karaf-maven-plugin resolved the issue.
Is this bug in the Cave feature definition?
If not, where is the bug?
***
* From a working pom.xml
***
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.version}</version>
<extensions>true</extensions>
<configuration>
<!-- startupFeatures -->
<bootFeatures>
<feature>standard</feature>
</bootFeatures>
<installedFeatures>
<feature>cxf-commands</feature> <!-- Required by
cave-core -->
<feature>cave-repository</feature>
</installedFeatures>
<logDependencyChanges>true</logDependencyChanges>
<timestampedSnapshot>true</timestampedSnapshot>
<archiveZip>false</archiveZip>
<generateConsistencyReport>true</generateConsistencyReport>
</configuration>
</plugin>
Paul Spencer