[
http://jira.codehaus.org/browse/MJAVADOC-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102059
]
Vincent Siveton commented on MJAVADOC-132:
------------------------------------------
I tried what you said and I think it is a normal way for the javadoc tool (not
the plugin)
Here is the structure of your application:
{noformat}
your-simple-java-aid
|-- src
|-- main
|-- java
|-- your
|-- simple
|-- java
|-- gid
`-- App.java
|-- javadoc
|-- your
`-- package.html (BTW echo doesnt provide a valid html file)
...
{noformat}
The package "your" has no class so it is ignored by the tool. If you move it to
src\main\javadoc\your\simple\java\gid, it is include in the report.
So I would close it as wont fix. WDYT?
> Using the src/main/javadoc directory for package.html files just doesn't work
> -----------------------------------------------------------------------------
>
> Key: MJAVADOC-132
> URL: http://jira.codehaus.org/browse/MJAVADOC-132
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: jano
>
> Using the src/main/javadoc directory for package.html files just doesn't work.
> I can see from debug -X that javadocDirectory is passed with the correct
> setting.
> This is using either 2.2 or 2.3-SNAPSHOT, using JDK 1.5.0_12 and maven 2.0.6.
> Since i have exactly the same problem i just quoted
> http://mail-archives.apache.org/mod_mbox/maven-users/200706.mbox/[EMAIL
> PROTECTED]
> How to reproduce? create a new application, add a resource and run javadoc
> mvn archetype:create -DgroupId=your.simple.java.gid
> -DartifactId=your-simple-java-aid
> mkdir -p your-simple-java-aid/src/main/javadoc/your
> echo sample > your-simple-java-aid/src/main/javadoc/your/package.html
> mvn javadoc:javadoc
--
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