Might I suggest you try setting it to: "compiler:compile javadoc:javadoc"?

If it solves the problem, then maybe the Netbeans versions you are referring to need to have their defaults changed.

However, for my NB 12.1 on Linux, this is the default.

Brad.

On 23/2/21 12:15 am, Richard Grin wrote:

With NetBeans 12.1 (Windows 10), it's "generate-sources javadoc:javadoc" too and not "compiler:compile javadoc:javadoc".

Richard

Le 22/02/2021 à 16:07, Glenn Holmer a écrit :
On 2/21/21 9:24 PM, Bradley Willcott wrote:
I am using NB 12.1 on Linux.

When I right right-click on a project, then "Properties" -> "Actions" : "Generate Javadoc", I get this under 'Execute Goals:' "compiler:compile javadoc:javadoc".

In a new project (using 12.3-beta3), I get "generate-sources javadoc:javadoc". Same if I install fresh with a clean userdir.

I have no problems using the Generate Javadoc menu option on the project right-click menu.

With a modular project and source set to >= 9?

<plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-javadoc-plugin</artifactId>
     <version>3.2.0</version>
     <configuration>
       <source>11</source>
       <detectJavaApiLink>false</detectJavaApiLink>
<excludePackageNames>org.apache.logging.*</excludePackageNames>
     </configuration>
</plugin>

Oh, by the way, this is the default setting :)

Not what I'm seeing (unless it's changed since 12.1).


---------------------------------------------------------------------
To unsubscribe, e-mail:users-unsubscr...@netbeans.apache.org
For additional commands, e-mail:users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to