Maven build fails with no plugin with key error message

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Maven is installed and working correctly on the agent machine running the build. "Atlassian Bamboo Maven Tasks Plugin" is enabled with no pending updates. There are also no permission problems and the user has full access to <bamboo-server-home>, <bamboo-server-installation> and <remote-agent-home> directories. However,  running a build with a Maven task fails with the following error message:

Could not execute task 'Maven Build of AbcdBrowser' no Plugin with key 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' is installed.

Cause

Though JAVA_HOME was set to point to the correct Java version and the root directory of JDK 1.7, running "java -version" at the DOS prompt showed version 1.8 being used which is not supported: Bamboo Supported Platforms.

Resolution

Please add jdk7/bin to the front of the PATH and restart the agent. 

Note: If updating Java, please double check and make sure that Bamboo service is starting with a compatible version.

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.