You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jano (JIRA)" <ji...@codehaus.org> on 2007/07/09 19:15:13 UTC
[jira] Created: (MJAVADOC-132) Using the src/main/javadoc directory
for package.html files just doesn't work
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/%3C4671BC2F.2000508@cyberspaceroad.com%3E
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
[jira] Closed: (MJAVADOC-132) Using the src/main/javadoc directory
for package.html files just doesn't work
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vincent Siveton closed MJAVADOC-132.
------------------------------------
Assignee: Vincent Siveton
Resolution: Won't Fix
Fix Version/s: 2.3
Closed as discussed.
> 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
> Assignee: Vincent Siveton
> Fix For: 2.3
>
>
> 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/%3C4671BC2F.2000508@cyberspaceroad.com%3E
> 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
[jira] Commented: (MJAVADOC-132) Using the src/main/javadoc
directory for package.html files just doesn't work
Posted by "jano (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MJAVADOC-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102521 ]
jano commented on MJAVADOC-132:
-------------------------------
Indeed. Sorry, this behaviour was unexpected to me.
> 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/%3C4671BC2F.2000508@cyberspaceroad.com%3E
> 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
[jira] Commented: (MJAVADOC-132) Using the src/main/javadoc
directory for package.html files just doesn't work
Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
[ 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/%3C4671BC2F.2000508@cyberspaceroad.com%3E
> 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