JavaDoc plugin will not locate overview file.
---------------------------------------------
Key: MJAVADOC-67
URL: http://jira.codehaus.org/browse/MJAVADOC-67
Project: Maven 2.x Javadoc Plugin
Type: Bug
Versions: 2.0
Environment: Maven version: 2.0.4
Microsoft Windows XP [Version 5.1.2600]
Reporter: Steven Coco
Fix For: 2.0
Attachments: JavaDoc Overview Tester.zip
No matter what I specify for the overview in the javadoc plugin, Maven will not
locate it. The file separators are stripped from the returned file path. The
POM declares:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<overview>${project.build.sourceDirectory}/overview.html</overview>
</configuration>
</plugin>
javadoc fails with the error message:
Embedded error: Exit code: 1 - javadoc: error - Error while reading file
C:Documents and SettingsCocoMy DocumentsJavaNet.StevenCocoXML Propertie
s Convertersrcmainjava/overview.html
Using: ${basedir}/src/main/java/overview.html yields:
Embedded error: Exit code: 1 - javadoc: error - Error while reading file
C:Documents and SettingsCocoMy DocumentsJavaNet.StevenCocoXML Propertie
s Converter/src/main/java/overview.html
Using: src/main/java/overview.html yields:
Embedded error: Exit code: 1 - javadoc: error - Error while reading file
src/main/java/overview.html
--
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