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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using: {code} <plugin> <groupId>com.atlassian.bamboo.maven.sharing</groupId> <artifactId>bamboo-artifact-sharing-maven-plugin</artifactId> <version>3.3-m4-1</version> <executions> <execution> <id>sharing</id> <goals> <goal>share</goal> </goals> </execution> </executions> </plugin> {code} Produces: {code} [INFO] --- bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share (sharing) @ testrelease --- [DEBUG] com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:jar:3.3-m4-1: [DEBUG] org.apache.maven:maven-core:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-settings:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.1.0:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.1.0:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile [DEBUG] org.apache.maven:maven-profile:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-model:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.1.0:compile [DEBUG] commons-cli:commons-cli:jar:1.0:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.1.0:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile [DEBUG] org.apache.maven:maven-monitor:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6:compile [DEBUG] classworlds:classworlds:jar:1.1:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.1:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.1:compile [DEBUG] org.apache.maven:maven-project:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.8.1:compile [DEBUG] Created new class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Importing foreign packages into class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Included: com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:jar:3.3-m4-1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1 [DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: commons-cli:commons-cli:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.6 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.1 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.8.1 [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.1.0 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.1.0 [DEBUG] Excluded: classworlds:classworlds:jar:1.1 [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.1.0 [DEBUG] Configuring mojo com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share from plugin realm ClassRealm[plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1, parent: sun.misc.Launcher$AppClassLoader@20cf2c80] [DEBUG] Configuring mojo 'com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share' with basic configurator --> [DEBUG] (f) baseURL = http://localhost:8888 [DEBUG] (f) jobKey = B [DEBUG] (f) planResultKey = A [DEBUG] (f) project = MavenProject: org.sonatype.testrelease:testrelease:6-SNAPSHOT @ /Users/jason/ws/sonatype/grid/admin/test-release/trunk/pom.xml [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@15837e8 [DEBUG] (f) token = C [DEBUG] -- end configuration -- [INFO] Rewriting all deployments from 'https://repository.sonatype.org/content/repositories/snapshots' to 'http://localhost:8888/plugins/servlet/maven/publish/A/B/forge-snapshots/' (Atlassian Bamboo Server) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.081s [INFO] Finished at: Tue Feb 28 10:58:11 PST 2012 [INFO] Final Memory: 6M/81M [INFO] ------------------------------------------------------------------------ [ERROR] 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 [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] 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 [ERROR] urls[1] = file:/Users/jason/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.1.0/maven-reporting-api-2.1.0.jar [ERROR] urls[2] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar [ERROR] urls[3] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar [ERROR] urls[4] = file:/Users/jason/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[5] = file:/Users/jason/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar [ERROR] 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 [ERROR] urls[7] = file:/Users/jason/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[8] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar [ERROR] urls[9] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.1/plexus-sec-dispatcher-1.1.jar [ERROR] urls[10] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-cipher/1.1/plexus-cipher-1.1.jar [ERROR] urls[11] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.8.1/plexus-interpolation-1.8.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] 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 [ERROR] {code} Docs state "Artifact sharing is configured differently when using Maven 2 or 3 as a builder for your Jobs." but there is no further details given here. The docs for this feature are generally bad. Its not clear what phase projects would need to execute for this to work, looking at the plugin.xml it looks like this will kick in during verify. When its enabled, and bamboo* properties are not set, should really explain that its doing nothing. Hopefully this feature will get move love in upcoming releases. The docs also state "Note, the version number specified above (<version>) must match the version of Bamboo you are using" but from looking at the versions here: * https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/bamboo/maven/sharing/bamboo-artifact-sharing-maven-plugin/ ... these versions don't tend to line up with any recent Bamboo release.
    via by Jason Dillon,
  • Using: {code} <plugin> <groupId>com.atlassian.bamboo.maven.sharing</groupId> <artifactId>bamboo-artifact-sharing-maven-plugin</artifactId> <version>3.3-m4-1</version> <executions> <execution> <id>sharing</id> <goals> <goal>share</goal> </goals> </execution> </executions> </plugin> {code} Produces: {code} [INFO] --- bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share (sharing) @ testrelease --- [DEBUG] com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:jar:3.3-m4-1: [DEBUG] org.apache.maven:maven-core:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-settings:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-parameter-documenter:jar:2.1.0:compile [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.1.0:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile [DEBUG] org.apache.maven:maven-profile:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-model:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.1.0:compile [DEBUG] commons-cli:commons-cli:jar:1.0:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.1.0:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile [DEBUG] org.apache.maven:maven-monitor:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6:compile [DEBUG] classworlds:classworlds:jar:1.1:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.1:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.1:compile [DEBUG] org.apache.maven:maven-project:jar:2.1.0:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.1.0:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.8.1:compile [DEBUG] Created new class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Importing foreign packages into class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [DEBUG] Included: com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:jar:3.3-m4-1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.1.0 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1 [DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: commons-cli:commons-cli:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.6 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.1 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.1 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.8.1 [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.1.0 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.1.0 [DEBUG] Excluded: classworlds:classworlds:jar:1.1 [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.1.0 [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.1.0 [DEBUG] Configuring mojo com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share from plugin realm ClassRealm[plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1, parent: sun.misc.Launcher$AppClassLoader@20cf2c80] [DEBUG] Configuring mojo 'com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1:share' with basic configurator --> [DEBUG] (f) baseURL = http://localhost:8888 [DEBUG] (f) jobKey = B [DEBUG] (f) planResultKey = A [DEBUG] (f) project = MavenProject: org.sonatype.testrelease:testrelease:6-SNAPSHOT @ /Users/jason/ws/sonatype/grid/admin/test-release/trunk/pom.xml [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@15837e8 [DEBUG] (f) token = C [DEBUG] -- end configuration -- [INFO] Rewriting all deployments from 'https://repository.sonatype.org/content/repositories/snapshots' to 'http://localhost:8888/plugins/servlet/maven/publish/A/B/forge-snapshots/' (Atlassian Bamboo Server) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.081s [INFO] Finished at: Tue Feb 28 10:58:11 PST 2012 [INFO] Final Memory: 6M/81M [INFO] ------------------------------------------------------------------------ [ERROR] 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 [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.atlassian.bamboo.maven.sharing:bamboo-artifact-sharing-maven-plugin:3.3-m4-1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] 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 [ERROR] urls[1] = file:/Users/jason/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.1.0/maven-reporting-api-2.1.0.jar [ERROR] urls[2] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar [ERROR] urls[3] = file:/Users/jason/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar [ERROR] urls[4] = file:/Users/jason/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[5] = file:/Users/jason/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar [ERROR] 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 [ERROR] urls[7] = file:/Users/jason/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[8] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar [ERROR] urls[9] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.1/plexus-sec-dispatcher-1.1.jar [ERROR] urls[10] = file:/Users/jason/.m2/repository/org/sonatype/plexus/plexus-cipher/1.1/plexus-cipher-1.1.jar [ERROR] urls[11] = file:/Users/jason/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.8.1/plexus-interpolation-1.8.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] -> [Help 1] 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 [ERROR] {code} Docs state "Artifact sharing is configured differently when using Maven 2 or 3 as a builder for your Jobs." but there is no further details given here. The docs for this feature are generally bad. Its not clear what phase projects would need to execute for this to work, looking at the plugin.xml it looks like this will kick in during verify. When its enabled, and bamboo* properties are not set, should really explain that its doing nothing. Hopefully this feature will get move love in upcoming releases. The docs also state "Note, the version number specified above (<version>) must match the version of Bamboo you are using" but from looking at the versions here: * https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/bamboo/maven/sharing/bamboo-artifact-sharing-maven-plugin/ ... these versions don't tend to line up with any recent Bamboo release.
    via by Jason Dillon,
    • 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
    No Bugmate found.