org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share (sharing) on project testrelease: Execution sharing of goal com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share failed: An API incompatibility was encountered while executing com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share: java.lang.NoSuchMethodError: org.apache.maven.artifact.manager.WagonManager.addAuthenticationInfo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ----------------------------------------------------- realm = plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/jason/.m2/repository/com/atlassian/bamboo/maven/sharing/bamboo-artifact-sharing-maven-plugin/3.3-m4-1/bamboo-artifact-sharing-maven-plugin-3.3-m4-1.jar urls[1] = file:/Users/jason/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.1.0/maven-reporting-api-2.1.0.jar urls[2] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar urls[3] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar urls[4] = file:/Users/jason/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar urls[5] = file:/Users/jason/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar urls[6] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar urls[7] = file:/Users/jason/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar urls[8] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar urls[9] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.1/plexus-sec-dispatcher-1.1.jar urls[10] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-cipher/1.1/plexus-cipher-1.1.jar urls[11] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.8.1/plexus-interpolation-1.8.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] -----------------------------------------------------

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Jason Dillon, 1 year ago
-1 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/jason/.m2/repository/com/atlassian/bamboo/maven/sharing/bamboo-artifact-sharing-maven-plugin/3.3-m4-1/bamboo-artifact-sharing-maven-plugin-3.3-m4-1.jar
via Atlassian JIRA by Jason Dillon, 1 year ago
-1 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/Users/jason/.m2/repository/com/atlassian/bamboo/maven/sharing/bamboo-artifact-sharing-maven-plugin/3.3-m4-1/bamboo-artifact-sharing-maven-plugin-3.3-m4-1.jar
via GitHub by shillner
, 1 year ago
Failed to execute goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform (default-cli) on project ssh-release-test: Execution default-cli of goal com.itemis.maven.plugins:unleash-maven-plugin:2.0.1-SNAPSHOT:perform failed: An API
via Google Groups by Alain Tschanz, 3 months ago
Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce-maven) on project dspace-parent: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed: A required class was
via GitHub by 4F2E4A2E
, 2 years ago
Failed to execute goal com.zenjava:javafx-maven-plugin:2.0:run (default-cli) on project g2: Execution default-cli of goal com.zenjava:javafx-maven-plugin:2.0:run failed: An API incompatibility was encountered while executing com.zenjava:javafx-maven
via GitHub by keklabs
, 1 year ago
Failed to execute goal org.sonatype.nexus:nexus-plugin-bundle-maven-plugin:1.0:create-bundle (default-create-bundle) on project nexus-ruby-plugin: Execution default-create-bundle of goal org.sonatype.nexus:nexus-plugin-bundle-maven-plugin:1.0:create
java.lang.NoSuchMethodError: org.apache.maven.artifact.manager.WagonManager.addAuthenticationInfo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at com.atlassian.bamboo.maven.sharing.ShareMojo.setRepositoryUsernameAndPassword(ShareMojo.java:160)
at com.atlassian.bamboo.maven.sharing.ShareMojo.execute(ShareMojo.java:104)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.