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

Will Wilmot March 18, 2014

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

0 votes
Answer accepted
Will Wilmot March 21, 2014

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
TAGS
AUG Leaders

Atlassian Community Events