karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3089) The features deployer demo doesn't build
Date Tue, 01 Jul 2014 15:07:24 GMT

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

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

The problem comes from the junit dependency (automatically added by the parent pom). I exclude
junit from the <dependencies/>.

> 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
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0
>
>
> 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)

Mime
View raw message