Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-21 Thread Gary Gregory
FYI, this is fixed this in the Commons parent POM, Javadoc does not like you to link to Javadocs for Java 21 when the target release is Java 8 (using Javadoc 17). I don't know what the version boundaries are for the various pieces. Now, the build will just link to the Javadoc that matches the targe

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Gary Gregory
On Sun, Jan 19, 2025 at 2:24 PM Gary Gregory wrote: > > Right, if I run "mvn javadoc:javadoc -X", I see: > > [DEBUG] (f) release = 8 The above is logged as part of: [DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-javadoc-plugin:3.11.2:javadoc:default-cli' with basic configur

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Gary Gregory
Right, if I run "mvn javadoc:javadoc -X", I see: [DEBUG] (f) release = 8 So it feels like there is something else missing or at play. Gary On Sun, Jan 19, 2025 at 2:22 PM Thomas Broyer wrote: > > maven.compiler.release is set here > https://github.com/apache/commons-parent/blob/87e668d63c62f

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Thomas Broyer
maven.compiler.release is set here https://github.com/apache/commons-parent/blob/87e668d63c62f57175585625d0176fc130ced38f/pom.xml#L1730 On Sun, Jan 19, 2025 at 6:45 PM Tamás Cservenák wrote: > Hm, I dont see it here > > https://github.com/apache/commons-parent/blob/87e668d63c62f57175585625d0176f

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Tamás Cservenák
Hm, I dont see it here https://github.com/apache/commons-parent/blob/87e668d63c62f57175585625d0176fc130ced38f/pom.xml#L440 I meant: https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#release On Sun, Jan 19, 2025 at 6:37 PM Gary Gregory wrote: > > Of course ;-) that's baked i

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Gary Gregory
Of course ;-) that's baked in our parent POM and set to 8 for most components. Gary On Sun, Jan 19, 2025, 11:35 Tamás Cservenák wrote: > Howdy. > > Did you try > > https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#option-release > ? > > I think javadoc has a "release" param...

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Tamás Cservenák
Howdy. Did you try https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#option-release ? I think javadoc has a "release" param... so no need to mess with args or alike Thanks On Sun, Jan 19, 2025 at 1:44 PM Gary Gregory wrote: > > Any thoughts on this? > > Ty, > Gary > > On Tue,

Re: Javadoc warning: The code being documented uses packages in the unnamed module

2025-01-19 Thread Gary Gregory
Any thoughts on this? Ty, Gary On Tue, Dec 17, 2024, 09:47 Gary D. Gregory wrote: > Hi All: > > I'd like to build Apache Commons components with the build failing if > there are Javadoc warnings. This idea would fail today for all components > because we get this Javadoc warning: > > [INFO] ---