[
https://issues.apache.org/jira/browse/MJAVADOC-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957446#comment-17957446
]
Olivier Lamy commented on MJAVADOC-68:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-javadoc-plugin#484|https://github.com/apache/maven-javadoc-plugin/issues/484].
> Paths with quotes cause error in Javadoc plugin
> -----------------------------------------------
>
> Key: MJAVADOC-68
> URL: https://issues.apache.org/jira/browse/MJAVADOC-68
> Project: Maven Javadoc Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 2.0-beta-3
> Reporter: Tim O'Brien
> Assignee: Maria Odea B. Ching
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)