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