BSP-268 - Build in Bamboo fail due to missing artifacts.

Product: Bamboo

Environment

Operating System  
Affect Version/s 1.2.3
JVM  
Database HSQLDB
Application Server Tomcat 5.5.x

Error Message

Builds fail due to missing Maven2 settings.xml or missing Maven2 artifacts

Symptom

The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found

OR

The plugin ******* does not exist or no valid version could be found

Diagnostics/Test

Check your machine's "C:/Documents and Settings/default user" directory to see whether there is an .m2 folder present.

Root Cause

When Bamboo is run as service (or the Application server, running Bamboo is run as service) - The process is owned by SYSTEM user.

Solution

Ensure Bamboo process is not run by SYSTEM user and is run by appropriate user with .m2 directory or settings.xml file in his home directory.

Labels