Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.4
-
Labels:None
-
Environment:Windows XP
-
Number of attachments :
Description
When the path to the external executable in <executable> contains space(s), the build will fail: the command is misunderstood because it stops at the first space encountered.
Example:
<executable>C:\Program Files\java\jdk1.6.0_11\bin\javac.exe</executable>
The plugin will try to execute "C:\Program" instead.
On windows the only workaround I know of is:
<executable>C:\PROGRA~1\java\jdk1.6.0_11\bin\javac.exe</executable>
Could someone verify if this is still a problem? With Windows7 I'm not able to reproduce this issue.
The problem should be caused by the plexus-compiler. Meanwhile we've already updated its version from 1.6 (used by maven-compiler-plugin-2.1) to 1.8.2. Strange enough Plexus' Jira doesn't refer to such an issue.