Hi,

I don't see cxf features in boot features. And it seems you are using
CXF in your bundles/features (maybe not as boot feature but deployed in
karaf while running). So, you would need at least cxf as installedFeature.
InstalledFeature means it's not start as boot feature, just populated in
the system folder so available "offline".

Regards
JB

On 16/01/2020 17:19, lechlukasz wrote:
> 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
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to