The standard Maven binary distribution has renamed its bin\mvn.bat file to bin\mvn.cmd starting with Maven 3.3. When trying to run a Maven 3.3 task with this distribution, the following error will be given:
Unable to find executable at c:\opt\java\tools\maven\apache-maven-3.3.3\bin\mvn.bat. Will try to run it anyway. 'c:\opt\java\tools\maven\apache-maven-3.3.3\bin\mvn.bat' is not recognized as an internal or external command, operable program or batch file.
The task should be updated to be able to handle either file extension.
Form Name |
---|
[BAM-16143] Bamboo Maven Tasks Plugin does not support Maven 3.3+ on Windows
Remote Link | Original: This issue links to "BDEV-9662 (Atlassian JIRA Extranet - Special Projects)" [ 110293 ] | New: This issue links to "BDEV-9662 (Hello Jira)" [ 110293 ] |
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1443716 ] | New: JAC Bug Workflow v3 [ 3383892 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1421917 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1443716 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 914397 ] | New: Bamboo Workflow 2016 v1 [ 1421917 ] |
Labels | Original: buildeng | New: buildeng support |
Component/s | New: Maven [ 13073 ] |
Attachment | New: Maven3x.png [ 187229 ] |
Affects Version/s | New: 5.9.3 [ 55197 ] | |
Affects Version/s | Original: 5.9.2 [ 54821 ] |
When I enter 'C:\apache-maven-3.3.9\bin\mvn.bat' in the Path, the errror message I am being thrown is
Unable to find executable at C:\apache-maven-3.3.9\bin\mvn.bat\bin\mvn.bat. Will try to run it anyway.
The system cannot find the path specified.
and when I set it to 'C:\apache-maven-3.3.9\' the error message I am displayed is
Unable to find executable at C:\apache-maven-3.3.9\bin\mvn.bat. Will try to run it anyway.
The system cannot find the path specified.