Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you