Maven build fail with "No child processes"

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

問題

Maven build fail with the following error:

/opt/rh/rh-maven33/root/bin/mvn: fork: retry: No child processes

診断

Running the same maven command manually in the agent's machine works fine.

There is a difference in the environment variables MAVEN2_HOME and/or M2_HOME between the build log and agent's machine.

ソリューション

Configure Maven executable path to be /opt/rh/rh-maven33/root/usr/share/maven at Administration > Build Resources > Executables

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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