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]] -----------------------------------------------------


Solutions on the web3672

Solution icon of atlassian
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

Solution icon of atlassian
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

Solution icon of github
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

Solution icon of googlegroups
via Google Groups by Alain Tschanz, 2 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

Solution icon of github
via GitHub by 4F2E4A2E
, 1 year 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

Solution icon of github
via GitHub by keklabs
, 10 months 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

Solution icon of github
Failed to execute goal com.google.appengine:gcloud-maven-plugin:2.0.9.106.v20160420:run_start (default-cli) on project blog-science: Execution default-cli of goal com.google.appengine:gcloud-maven-plugin:2.0.9.106.v20160420:run_start failed: An API

Solution icon of web
>org.codehaus.mojo:cobertura-maven-plugin:2.5.1 strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy urls[0] = file:/C:/Users/Administrator/.m2/repository/org/codehaus/mojo/cobertura-maven-plugin/2.5.1/cobertura-maven-plu gin-2.5.1.jar urls[1] = file:/C

Solution icon of github
via GitHub by rasoolims
, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project deeplearning4j-examples: Execution default-clean of goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean failed: A required class was

Solution icon of github
Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile (scala-compile-first) on project chronos: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.1.0:compile failed: A required class was missing while

Stack trace

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]]
-----------------------------------------------------
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
	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)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: 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]]
-----------------------------------------------------
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:139)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: 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]]
-----------------------------------------------------
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
	... 20 more
Caused by: 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.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	... 20 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.