Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,411
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events