BSP-596 - Maven builds fail due to missing settings.xml file.

*Product: *

Environment

Operating System  
Affect Version/s 1.2.4
JVM  
Database  
Application Server  

Error Message

Missing:
----------
1) javax.activation:activation:jar:1.0.2

Try downloading the file manually from:
http://java.sun.com/​products/​javabeans/​glasgow/​jaf.html

Then, install it using the command:
mvn install:install-file -DgroupId=javax.activation -DartifactId=activation \
-Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/​to/​file

Symptom

Your build might not succeed due to other missing artifacts.

Diagnostics/Test

Go to System Informtation page in Bamboo and check whether Bamboo is being run under the logged in user.

Root Cause

Bamboo is often started as s service, under Tomcat or Windows it might startup under SYSTEM user - instead of the intended user with the configured settings.xml file in his M2_HOME directory.

Solution

Shut down Bamboo - If you are running Bamboo under the default SYSTEM user and ensure that you start it under the intended user. If unsure, start Bamboo in console.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.