History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2813
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: J. Mash
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Maven Executable Name Incorrect on Windows in Some Cases

Created: 23/Sep/16 05:48 PM   Updated: 13/Jan/17 02:02 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Greetings,

I believe I have encountered a bug in the Maven plugin that prevents it from correctly determining the name of the Maven executable on Windows in some circumstances. Specifically, it seems to be hard-coded to use 'mvn.bat' as the Maven executable, and that was deprecated and removed in Maven 3.3.x.

Here are my test cases:

  - Maven plugin settings define a 'Maven Home' setting:
    - With Maven v3.2.x, where the 'mvn.bat' exists, the 'mvn.bat' executable name is used.
    - With Maven v3.3.x, where the 'mvn.bat' does not exist, the 'mvn.cmd' executable name is used.
  - Maven plugin settings DO NOT define a 'Maven Home' setting:
    - With Maven v3.2.x, where the 'mvn.bat' exists, the 'mvn.bat' executable name is used.
    - With Maven v3.3.x, where the 'mvn.bat' does not exist, the 'mvn.bat' executable name still being used.

Thanks,
-J. Mash

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.