Manuel Jordan
Manuel Jordan

Reputation: 16271

Maven: how configure javadoc to generate all the private and package too

I am working with Maven 3.6.3, for a project based in one module, about the generation of the javadoc in the pom.xml file I have:

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven.javadoc.plugin.version}</version>
        <configuration>
            <source>${jdk.version}</source>
        </configuration>
    </plugin>

Where maven.javadoc.plugin.version is 3.2.0.

The plugin works how is expected:

Now, for developing purposes I need include all about the private and package (methods, classes) too. What is the correct extra configuration?. It is possible in Gradle, so I am assuming it is possible in Maven too.

Upvotes: 2

Views: 1043

Answers (1)

Allen D. Ball
Allen D. Ball

Reputation: 2026

Add

<show>private</show>

to your <configuration/>.

Upvotes: 3

Related Questions