In order to do some plugin developement, I downloaded the Bamboo 4.0 source from my.atlassian.com. However there is an issue with the build scripts that prevents the build from finishing. I receive the following error:
[INFO] ------------------------------------------------------------------------
[INFO] Building Atlassian Bamboo REST plugin
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:pom:2.6.0-SEC2' in repository atlassian-proxy (https://m2proxy.atlassian.com/re
pository/public)
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:pom:2.6.0-SEC2' in repository atlassian-m1-repository (https://maven.atlassian.
com/repository/m1/)
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:pom:2.6.0-SEC2' in repository central (http://repo1.maven.org/maven2)
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:jar:2.6.0-SEC2' in repository atlassian-proxy (https://m2proxy.atlassian.com/re
pository/public)
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:jar:2.6.0-SEC2' in repository atlassian-m1-repository (https://maven.atlassian.
com/repository/m1/)
[INFO] Unable to find resource 'com.atlassian.plugins.rest:atlassian-rest-common:jar:2.6.0-SEC2' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.atlassian.plugins.rest:atlassian-rest-common:jar:2.6.0-SEC2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.atlassian.plugins.rest -DartifactId=atlassian-rest-common -Dversion=2.6.0-SEC2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.atlassian.plugins.rest -DartifactId=atlassian-rest-common -Dversion=2.6.0-SEC2 -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.atlassian.bamboo.plugins:atlassian-bamboo-plugin-rest:jar:4.0
2) com.atlassian.plugins.rest:atlassian-rest-common:jar:2.6.0-SEC2
----------
1 required artifact is missing.
for artifact:
com.atlassian.bamboo.plugins:atlassian-bamboo-plugin-rest:jar:4.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
atlassian-m1-repository (https://maven.atlassian.com/repository/m1/),
atlassian-proxy (https://m2proxy.atlassian.com/repository/public)
I am not sure what the correct version to use for the REST api to resolve this issue.
Community moderators have prevented the ability to post new answers.
Hello Justin,
I wonder if you could use not 4.0 sources, but something newer like 4.0.1 or 4.0.x - the reason I'm wondering is that if I recall correctly we had at some point released a Bamboo version that had borked source distribution. Maybe it was 4.0 and we fixed compilation problems with 4.0.1++?
4.0.1 shares the same issue as 4.0. I would prefer to use 4.0.1 since it is currently what we have deployed but its look like that may not be possible.
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.