Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6126

Failed to execute goal com.github.github:downloads-maven-plugin:0.6:upload

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Jenkins Server

      Description

      Build keep on getting failed with below error

      Build command : mvn clean install

      [ERROR] Failed to execute goal com.github.github:downloads-maven-plugin:0.6:upload (default) on project github-maven-example: Execution default of goal com.github.github:downloads-maven-plugin:0.6:upload failed: An API incompatibility was encountered while executing com.github.github:downloads-maven-plugin:0.6:upload: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
      [ERROR] -----------------------------------------------------
      [ERROR] realm = plugin>com.github.github:downloads-maven-plugin:0.6
      [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
      [ERROR] urls[0] = file:/root/.m2/repository/com/github/github/downloads-maven-plugin/0.6/downloads-maven-plugin-0.6.jar
      [ERROR] urls[1] = file:/root/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
      [ERROR] urls[2] = file:/root/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
      [ERROR] urls[3] = file:/root/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
      [ERROR] urls[4] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
      [ERROR] urls[5] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
      [ERROR] urls[6] = file:/root/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
      [ERROR] urls[7] = file:/root/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
      [ERROR] urls[8] = file:/root/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
      [ERROR] urls[9] = file:/root/.m2/repository/org/eclipse/mylyn/github/org.eclipse.egit.github.core/1.3.6/org.eclipse.egit.github.core-1.3.6.jar
      [ERROR] urls[10] = file:/root/.m2/repository/com/google/code/gson/gson/2.1/gson-2.1.jar
      [ERROR] urls[11] = file:/root/.m2/repository/com/github/github/github-maven-core/0.5/github-maven-core-0.5.jar
      [ERROR] Number of foreign imports: 1
      [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
      [ERROR]
      [ERROR] -----------------------------------------------------
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
      Build step 'Invoke top-level Maven targets' marked build as failure

      Sending e-mails to: jegadeesh-kumar.r@hpe.com

      Extended Email Publisher is currently disabled in project settings
      Finished: FAILURE

        Attachments

        1. pom.xml
          5 kB
          jegadeesh

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jegadeesh jegadeesh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: