[ 
https://issues.apache.org/jira/browse/KARAF-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049748#comment-14049748
 ] 

Jean-Baptiste Onofré commented on KARAF-3089:
---------------------------------------------

Actually, the artifacts with scope test should be ignored by the plugin for the 
feature descriptor generation.

> The features deployer demo doesn't build
> ----------------------------------------
>
>                 Key: KARAF-3089
>                 URL: https://issues.apache.org/jira/browse/KARAF-3089
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-demo
>    Affects Versions: 2.4.0, 2.3.6
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 2.3.6
>
>
> The demo/deployer/features module doesn't build on karaf-2.x:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:features-maven-plugin:2.4.0-SNAPSHOT:generate-features-file
>  (generate-features-file) on project my-feature: Execution 
> generate-features-file of goal 
> org.apache.karaf.tooling:features-maven-plugin:2.4.0-SNAPSHOT:generate-features-file
>  failed: An API incompatibility was encountered while executing 
> org.apache.karaf.tooling:features-maven-plugin:2.4.0-SNAPSHOT:generate-features-file:
>  java.lang.NoSuchMethodError: 
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: method 
> <init>(Ljava/lang/String;)V not found
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    
> plugin>org.apache.karaf.tooling:features-maven-plugin:2.4.0-SNAPSHOT
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = 
> file:/home/jbonofre/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.4.0-SNAPSHOT/features-maven-plugin-2.4.0-SNAPSHOT.jar
> [ERROR] urls[1] = 
> file:/home/jbonofre/.m2/repository/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar
> [ERROR] urls[2] = 
> file:/home/jbonofre/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to