I am trying to create a plugin, and have managed to create one for Bamboo 6.2.2. However, our production platform is 6.1.2. The plugin works fine in 6.2.2, but when I run it with
atlas-debug --product bamboo --version 6.1.2
I get the following error
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.491 s
[INFO] Finished at: 2018-01-02T18:15:56+00:00
[INFO] Final Memory: 51M/433M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.3.6:debug (default-cli) on project selective: Unable to execute mojo: Unable to find artifact. Could not find artifact com.atlassian.bamboo:atlassian-bamboo-web-app:war:6.1.2 in atlassian-public (https://maven.atlassian.com/repository/public)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.atlassian.bamboo -DartifactId=atlassian-bamboo-web-app -Dversion=6.1.2 -Dpackaging=war -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.atlassian.bamboo -DartifactId=atlassian-bamboo-web-app -Dversion=6.1.2 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.atlassian.bamboo:atlassian-bamboo-web-app:war:6.1.2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] atlassian-public (https://maven.atlassian.com/repository/public, releases=true, snapshots=true),
[ERROR] atlassian-plugin-sdk (file:///usr/local/Cellar/atlassian-plugin-sdk/6.3.4/libexec/repository, releases=true, snapshots=true),
[ERROR] ats-releases (http://artifactory.amelco.co.uk/artifactory/ats-releases, releases=true, snapshots=false),
[ERROR] ats-snapshots (http://artifactory.amelco.co.uk/artifactory/ats-snapshots, releases=true, snapshots=true),
[ERROR] private-internal-repository (http://artifactory.amelco.co.uk/artifactory/repo, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
I also tried changing the bamboo.version and bamboo.data.version numbers, but they all seem to give similar issues.
Is there a way to make this plugin work on an earlier version of Bamboo?
Does this mean that I should run it with
`atlas-debug --product bamboo --version 6.1.2-m280`
Yes, please. Alternatively, you could run
atlas-debug --product bamboo --version 6.1.2-SNAPSHOT
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @xetius,
If you have a look at the repository, you will notice there is no 6.1.2 artifact available (https://maven.atlassian.com/maven-external/com/atlassian/bamboo/atlassian-bamboo-web-app/), instead, you should be looking at:
6.1.2-m280/ 21-Aug-2017 20:48 - 6.1.2-SNAPSHOT/ 11-Aug-2017 11:12 -
Kind regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.