Maven build fails with no plugin with key error message

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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:

1 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.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.