OK it seems that something was wrong and I haven't noticed it before.
The error is when transfering the artifact
http://repo1.maven.org/maven2/org/apache/cxf/karaf/cxf-karaf-commands/3.3.1/cxf-karaf-commands-3.3.1.jar
It is not in target/assemby/system after build.
The karaf writes it is about to install features:
framework/[4.2.6,4.2.6],feature/[4.2.6,4.2.6],config/[4.2.6,4.2.6],shell-compat/[4.2.6,4.2.6],diagnostic/[4.2.6,4.2.6],eclipselink/[2.7.4,2.7.4],eventadmin/[4.2.6,4.2.6],instance/[4.2.6,4.2.6],bundle/[4.2.6,4.2.6],pax-jdbc-config/[1.3.5,1.3.5],service/[4.2.6,4.2.6],jaas/[4.2.6,4.2.6],package/[4.2.6,4.2.6],webconsole/[4.2.6,4.2.6],prometheus-endpoint/[1.0.0,1.0.0],deployer/[4.2.6,4.2.6],kar/[4.2.6,4.2.6],shell/[4.2.6,4.2.6],management/[4.2.6,4.2.6],log/[4.2.6,4.2.6],ssh/[4.2.6,4.2.6],system/[4.2.6,4.2.6],aries-blueprint/[4.2.6,4.2.6],pax-jdbc-postgresql/[1.3.5,1.3.5],spring-jdbc/[5.1.7.RELEASE_1,5.1.7.RELEASE_1],pax-jdbc-pool-dbcp2/[1.3.5,1.3.5]
and my maven configuration says:
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
<version>${karaf.version}</version>
<executions>
<execution>
<id>install-kar</id>
<phase>compile</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
<configuration>
<startupFeatures>
<feature>eventadmin</feature>
</startupFeatures>
<bootRepositories>
<repository>mvn:org.apache.aries.jpa/jpa-features/${aries.jpa.version}/xml/features</repository>
<repository>mvn:org.apache.cxf.karaf/apache-cxf/${apache.cxf.version}/xml/features</repository>
</bootRepositories>
<bootFeatures>
<feature>wrap</feature>
<feature>shell</feature>
<feature>feature</feature>
<feature>jaas</feature>
<feature>ssh</feature>
<feature>management</feature>
<feature>bundle</feature>
<feature>config</feature>
<feature>deployer</feature>
<feature>diagnostic</feature>
<feature>instance</feature>
<feature>kar</feature>
<feature>log</feature>
<feature>package</feature>
<feature>service</feature>
<feature>system</feature>
<feature>aries-blueprint</feature>
<feature>shell-compat</feature>
<feature>eclipselink</feature>
<feature>pax-jdbc-config</feature>
<feature>pax-jdbc-postgresql</feature>
<feature>pax-jdbc-pool-dbcp2</feature>
<feature>spring-jdbc</feature>
<feature>webconsole</feature>
</bootFeatures>
<javase>1.8</javase>
</configuration>
</plugin>
I'm not expicitely installing or accessing cxf-karaf-commands. Am I missing
some feature in bootFeatures? Has the maven plugin missed some dependency?
Best regards,
Lukasz Lech
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html