[ http://jira.codehaus.org/browse/MCOMPILER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144321#action_144321 ]
Dan Rollo commented on MCOMPILER-79: ------------------------------------ BTW, I'm running maven 2.0.9 under java 6. Also, here's more detail about the workaround I used: ... <plugins> <plugin> <!-- Compile using Java 5 spec. --> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> <!-- Set the system property: jkd_1_5_home to a path to jdk1.5 if building with jdk1.6 or newer. See comment in properties section above. --> <fork>true</fork> <executable>${jdk_1_5_home}/bin/javac</executable> </configuration> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>1.5.6</version> </dependency> </dependencies> </plugin> ... > Regression?: Compiler fork executable fails when the path has spaces > -------------------------------------------------------------------- > > Key: MCOMPILER-79 > URL: http://jira.codehaus.org/browse/MCOMPILER-79 > Project: Maven 2.x Compiler Plugin > Issue Type: Bug > Affects Versions: 2.0.2 > Environment: All (but more likely in Windows). > maven 2.0.9 > Reporter: Dan Rollo > > Please see MCOMPILER-30 http://jira.codehaus.org/browse/MCOMPILER-30 for > details. > I'm using maven 2.0.9 and still setting the same issue reported in > MCOMPILER-30 (closed as fixed in 2.0.2). > I believe this issue is still not fixed. > help:effective-pom shows maven-compiler-plugin, version 2.0.2. > My workaround was to add a dependency to the plugin itself on plexus-utils, > version 1.5.6. > Dan Rollo -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira