Maven build fails with no plugin with key error message
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.