Jean-Baptiste Onofré created KARAF-3089:
-------------------------------------------
Summary: 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)