Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error while running bamboo yaml file using bamboo spec

Deleted user March 7, 2019

Hi,

we are getting the below error when we try to build using the bamboo yaml spec, can someone please advise. Thanks.

Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher

 

using the below script in bamboo yaml file:

- scripts:
- M3_HOME=/opt/maven-3.3
- ${M3_HOME}/bin/mvn clean package

1 answer

1 accepted

0 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 8, 2019

Hi @[deleted]

I'm afraid that is a maven configuration issue.

I was able to run that script and get successful results using both M2_HOME and M3_HOME variables.

Have you tried running those two command lines in your Bamboo agent machine directly using the terminal? What is the result you get?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events