Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3089

The features deployer demo doesn't build

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0, 2.3.6
    • 2.4.0, 2.3.6
    • karaf
    • None

    Description

      The demo/deployer/features module doesn't build on karaf-2.x:

      [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
      ...
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment