Heinrich Nirschl on 16/06/07 21:39, wrote:
On Sat, 2007-06-16 at 19:21 +0100, Adam Hardy wrote:
Heinrich Nirschl on 15/06/07 18:35, wrote:
On Thu, 2007-06-14 at 23:07 +0100, Adam Hardy wrote:
I thought I'd post a more generic description since it seems no-one else recognises the problem.

Can't find any references to it in the JIRA or on the mailing list or in fact just generally by googling (there is some stuff but it was for mvn 1.1 and fixed).

Using the src/main/javadoc directory for package.html files just doesn't work.

Does anyone successfully process their package.html and images etc from src/main/javadoc? I'd be interested to hear.

Thanks
Adam

Yes, this works here (Java 5, Maven 2.0.6, javadoc plugin 2.2). At least
the package.html bit, I did not try images. There is an issue with
aggregated documentation
( http://jira.codehaus.org/browse/MJAVADOC-118 ) but this should not
apply to your case.

how are you specifying the maven-javadoc-plugin config?

Do you have the src/main/javadoc directory declared in <sourcepath/> or in <javadocDirectory/> or not declared at all?

I do not declare the src/main/javadoc anywhere. It works out of the box.
By the way, am working on Linux, this may also be relevant.

I realised that javadoc would have no problem processing the package.html files if I declared the src/main/javadoc in the <sourcepath/> but that is just a work-around, since it would make <javadocDirectory/> redundant - or am I missing something?

You may experiment with the debug parameter of the javadoc plugin. This
will reveal the javadoc command actually used. Maybe you can find out
why your setup does not work.

I couldn't get it to work. I am glad it doesn't affect you, but I found nothing to explain why. BTW I am on linux too.

I filed the bug http://jira.codehaus.org/browse/MJAVADOC-129 with a testcase.


Regards
Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to