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


Adam Hardy on 13/06/07 21:39, wrote:
I moved my package.html files from the src/main/java directory where they worked fine into the src/main/javadoc directory, and now the maven-javadoc-plugin ignores them.

I can see from debug -X that javadocDirectory is passed with the correct setting.

I worked my way through a few errors to get this far and it seems very strange that no-one else is suffering from this problem - unless of course my ability to search the mailing list properly has evaporated.

This is my config:

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <links>
                        <link>http://java.sun.com/j2ee/1.4/docs/api</link>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
                    </link>
                    <source>1.5</source>

<sourcepath>${basedir}/src/main/java;${basedir}/src/test/java</sourcepath>
<!-- javadocDirectory>${basedir}/src/main/javadoc</javadocDirectory -->
                </configuration>
            </plugin>

Uncommenting the <javadocDirectory> tag doesn't help.

This is using either 2.2 or 2.3-SNAPSHOT, using JDK 1.5.0_12 and maven 2.0.6.

Does anybody else see this? Or recognise a stupid error? Thanks!


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

Reply via email to