Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.7
-
None
-
None
-
Windows XP, JDK 1.6
-
Novice
Description
Execution of the Maven cxf-codegen-plugin fails on Windows XP environment when using fork mode. Cause it that the JAR file created to hold the classpath is created in the temporary directory, which on Windpws XP points to C:\Documents and Settings\... Result is an error when executing the command line stating the jar file C:\Documents cannot be found.
For reference see: https://fisheye6.atlassian.com/browse/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java?r=1465636
Proposed solutions is to apply quotes to the path. Other way is to create the jar file in the target/ folder of the current execution (which is often in a path without spaces, as multiple plugins are otherwise affected).