Maven executable doesn't show up in the Maven task drop down
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
Problem
After adding a Maven executable to the Executable list (Administration > Executables) it doesn't show up in the Maven tasks drop down menu:

Normally, it should appear in the drop down menu as seen below:

Causes
The following are possible causes of this issue:
Cause 1: Bamboo Artifactory Plugin
This issue can be caused by having the Bamboo Artifactory plugin installed when you have both the Artifactory executable and the native Maven executable

Cause 2: Mismatch between Capabilities and Requirements
You may have a mismatch between Capabilities and Requirements for the agents and jobs, respectively.
Cause 3: Multiple Executables with the same name and type
This issue can also occur when you have multiple Executables with the same Type and Name.
Resolutions
Solution 1: Remove Artifactory Maven executable
If the Bamboo Artifactory plugin is installed, remove the "Artifactory Maven 3" executable
Solution 2: Rename Executables
Rename all but one of the Executables with the same Type so they all have distinct names.
Solution 3: Delete and readd Executables
If the above solutions do not work, remove all of the Maven Executables and add the new Maven executable
Was this helpful?