Need to add or enable Maven 3.1 within my Bamboo 5.5.1 installation as my task requires it:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:install-node-and-npm (install node and npm) on project: The plugin com.github.eirslett:frontend-maven-plugin:0.0.23 requires Maven version 3.1.0
Is that possible? Thanks!
Hi Mariano: You need to install Maven 3.1.1 on the system where the agent is running and then add it as a remote capability. To install this version of Maven: http://maven.apache.org/docs/3.1.1/release-notes.html
Thank you for your question.
First of all, you need to determine where the build will be running on, if Bamboo server or Bamboo remote agent. Once you determine that, please go to the Bamboo box where the build will be running on and download and install the Maven you require.
Lets say your build requires Maven v3.3.3, latest version available, at present:
# download Maven v3.3.3 wget ftp://mirror.reverse.net/pub/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz # extract Maven v3.3.3 tar -zxvf apache-maven-3.3.3-bin.tar.gz
Now, go to Bamboo and add the Maven above as a capability to the agent will be running your build:
Please, add the capability as per following:
Please, notice in Path I have provided the location where apache-maven-3.3.3-bin.tar.gz has been extracted, in this case under (/opt/maven).
Now, go to your Plan configuration and add a Maven 3.x task where you will be able to select from the Executable drop-n-down menu the just added Maven (Maven 3.3.3) executable.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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