[ 
https://issues.apache.org/jira/browse/MNG-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jegadeesh updated MNG-6126:
---------------------------
    Attachment: pom.xml

Attached my pom.xml for debugging. 

> Failed to execute goal com.github.github:downloads-maven-plugin:0.6:upload
> --------------------------------------------------------------------------
>
>                 Key: MNG-6126
>                 URL: https://issues.apache.org/jira/browse/MNG-6126
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.3.3
>         Environment: Jenkins Server
>            Reporter: jegadeesh
>         Attachments: pom.xml
>
>
> 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-kuma...@hpe.com
> Extended Email Publisher is currently disabled in project settings
> Finished: FAILURE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to