roycezhc / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

Maven Site comes with empty index.html #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Have a multi-module-layout in Maven
2. Configure doclava as specified for Maven in parent POM
3. Run mvn clean site
4. See the site's javadoc being generated to 
${project.build.directory}/site/apidocs
5. The file ${project.build.directory}/site/apidocs/index.html is an empty file.
6. The "real" doclava Javadoc starts in 
${project.build.directory}/site/apidocs/docs/index.html.
7. The maven-site-plugin will link to the empty index.html

I assume that it's just a problem of the additional "docs" folder.

Original issue reported on code.google.com by michaeli...@gmail.com on 20 Sep 2012 at 6:36

GoogleCodeExporter commented 9 years ago
I also see this problem if doclava is specified in the child module

Original comment by mala...@playhaven.com on 18 Apr 2013 at 6:08

GoogleCodeExporter commented 9 years ago
If you specify a destDir, then it becomes ${destDir}/docs
IE: if you try to set 
<destDir>${project.build.directory}/site/apidocs/docs</destDir> to circumvent 
this bug, you instead get ${project.build.directory}/site/apidocs/docs/docs

Original comment by mala...@playhaven.com on 18 Apr 2013 at 6:41