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.
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.
You need to configure Atlassian Maven repository to build plugins: https://developer.atlassian.com/server/framework/atlassian-sdk/atlassian-maven-repositories-2818705/
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.