Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1396

NoSuchMethodException .ArtifactResolutionResult.setArtifactResolutionNodes(Ljava/util/Set;)V with M2Eclipse / Maven 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3
    • tooling
    • None

    Description

      jbi-maven-plugin does not work with new versions of M2Eclipse (which uses Maven 2.1).

      An internal error occurred during: "Updating Maven Configuration".
      org.apache.servicemix.maven.plugin.jbi.GenerateComponentDescriptorMojo#execute() caused a linkage error (java.lang.NoSuchMethodError)
      org.apache.maven.artifact.resolver.ArtifactResolutionResult.setArtifactResolutionNodes(Ljava/util/Set;)V

      I've had a bug opened on M2Eclipse since last year regarding this: http://jira.codehaus.org/browse/MNGECLIPSE-415 but it doesn't seem to have gained any traction. It appears that maven-artifact-3.0-SNAPSHOT still contains the method so I am not sure what's going on here.

      Attachments

        1. sm-jbi.patch
          1 kB
          Aleksey Shipilev

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              shade Aleksey Shipilev
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: