Dragons - Bamboo Build: #1 failed –First build for this plan

Getting this error when I run the build:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-clean-plugin

Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repository: Unable to download the artifact from any repository

org.apache.maven.plugins:maven-clean-plugin:pom:2.2

from the specified remote repositories:
atlassian-plugin-sdk (file://C:\Users\SWIM_Demo\atlassian-plugin-sdk/repository),
central (http://repo1.maven.org/maven2),<br< a="">>atlassian-public (https://maven.atlassian.com/repository/public)<br< a="">>
for project org.apache.maven.plugins:maven-clean-plugin


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch

1 answer

1 accepted

Hi All,

I solved this internally after a bit of "philosophising"!

The message initially indicates that the issue is with the connection to web repository with the message: Reason: POM 'org.apache.maven.plugins:maven-clean-plugin' not found in repository

And I spent a lot of time reviewing web connection / proxies, etc....

However! the real problem was that I created the instance on a Windows VM machine running on my mac, and the problem ACTUALLY was that it was downloading from the repository fine but the temporary file locations that it downloads within Windows to was defaulting to //VM-SHARE/.... folder and my user did not have rights to create a folder in this location.....

I changed the settings to change the repository location (watch the commented section!)

I hope this helps any others that have this issue.

Take Care,

Will.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,806 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you