Bukama commented on issue #177:
URL: 
https://github.com/apache/maven-checkstyle-plugin/issues/177#issuecomment-7341726487

   As @slachiewicz wrote this can't be done as the plugin targets at Java 8 
atm. But you can upgrade at runtime, see this article
   
   
https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html
   
   What I did at work was setting the checkstyle version with a property, where 
the default value is the version for Java 8 and then have profiles, activated 
by JDK version, which overwrite the property with a newer version. This way I 
use current Checkstyle on Java 21/25.
   
   Leaving this issue open for newer versions of the plugin.


-- 
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