Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

When writing custom task for bamboo, unable to find the com.atlassian.bamboo::atlassian-bamboo-web:

Rasike Abeyratne March 15, 2018

When writing custom task for bamboo, unable to find the com.atlassian.bamboo::atlassian-bamboo-web:6.2.2.jar. If trying with evaluation version of bamboo couldn't we get access to it? POM couldn't find the required resource.

2 answers

1 accepted

0 votes
Answer accepted
Rasike Abeyratne March 16, 2018

Matter was default repository maven 2 referring don't have above artifacts. You can easily change the repository settings by adding a mirror section as specified below.

<mirror>
<id>new_repo</id>
<!-- This is our maven proxy: it would prevent you from downloading all data from remote repository-->
<url>https://packages.atlassian.com/maven/repository/public</url>
<mirrorOf>central</mirrorOf>
</mirror> 

Once you added above mirror maven will refer the specified repository URL in mirror section instead of default m2 remote repository.

1 vote
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2018

You need to configure Atlassian Maven repository to build plugins: https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-maven-repositories-2818705/

Rasike Abeyratne March 15, 2018

Thanks. 

Rasike Abeyratne March 16, 2018

I updated the profiles section of .m2/settings.xml with a new profile containing repository information, and add that profile to active profiles. Some how it didn't work. Then I removed it and add a section for mirrors as follows and it works well.

<mirror>
<id>new_repo</id>
<!-- This is our maven proxy: it would prevent you from downloading all data from remote repository-->
<url>https://packages.atlassian.com/maven/repository/public</url>
<mirrorOf>central</mirrorOf>
</mirror> 

With above section downloading repository change to a repository mentioned above.

Thanks for the responses.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events