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

Atlassian JIRA | Jason Dillon | 5 years ago
  1. 0

    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.

    Atlassian JIRA | 5 years ago | 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]] -----------------------------------------------------
  2. 0

    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.

    Atlassian JIRA | 5 years ago | 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]] -----------------------------------------------------
  3. 0

    db:: 3.51::Unable to start applications/modules in weblogic Admin Server k1

    hivmr.com | 4 months ago
    java.lang.NoSuchMethodError: com.bea.utils.misc.ProcessUtil.getPropValues(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to Open the Admin Console

    Oracle Community | 6 years ago | 844867
    java.lang.NoSuchMethodError: com.bea.utils.misc.ProcessUtil.getPropValues(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
  6. 0

    java.lang.NoSuchMethodError: io.fabric8.kubernetes.client.Config.<init>

    GitHub | 10 months ago | rawlingsj
    java.lang.NoSuchMethodError: io.fabric8.kubernetes.client.Config.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIJILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.atlassian.bamboo
      ShareMojo.execute
      1. com.atlassian.bamboo.maven.sharing.ShareMojo.setRepositoryUsernameAndPassword(ShareMojo.java:160)
      2. com.atlassian.bamboo.maven.sharing.ShareMojo.execute(ShareMojo.java:104)
      2 frames
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      9 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      4 frames