Maven build fails with no plugin with key error message

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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.

原因

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.

ソリューション

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.

最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.