nielsbasjes commented on issue #1244:
URL: 
https://github.com/apache/maven-javadoc-plugin/issues/1244#issuecomment-3728317753

   > There seems to be no way to configure the pom.xml such that the property 
`maven.javadoc.disableNoFonts` is set to `true` if maven is called with a Java 
version >=23 while toolchain <23 is used. It must be fixed in the javadoc 
plugin IMHO.
   
   Yes, you are right. 
   
   For the overall predictiblility of my builds I have chosen to pin my builds 
to force the use of JDK 25 (so to make it work with all the plugins), then use 
the toolchains plugin to set build compiler version to what I want the code to 
be compiled with, and then use the `maven.compiler.source` and 
`maven.compiler.release` flags to indicate the desired output class versions.
   
   Because of this setup I'm able to cleanly set the right flag for this 
problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to