[ http://jira.codehaus.org/browse/MJAVADOC-68?page=all ]

Brett Porter updated MJAVADOC-68:
---------------------------------

    Fix Version: 2.0

> Paths with quotes cause error in Javadoc plugin
> -----------------------------------------------
>
>          Key: MJAVADOC-68
>          URL: http://jira.codehaus.org/browse/MJAVADOC-68
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Versions: 2.0-beta-3
>     Reporter: Tim O'Brien
>      Fix For: 2.0

>
>
> On Windows, my Maven 2 repository is in "C:\Program Files\Tim 
> O'Brien\.m2.repository".   Because of the way that quotedPathArgument 
> generates a path on Windows, the classpath is invalid.   Causes Javadoc 
> plugin to fail for Windows users with apostrophes in last name.   
> From: 
> http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-javadoc-plugin/src/main/java/org/apache/maven/plugin/javadoc/AbstractJavadocMojo.java?rev=392516&view=markup
>  private String quotedPathArgument( String value )
>     {
>         String path = value;
>         if ( !StringUtils.isEmpty( path ) )
>         {
>             path = "'" + path.replace( '\\', '/' ) + "'";
>         }
>         return path;
>     }

-- 
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

Reply via email to