desruisseaux commented on PR #165:
URL: https://github.com/apache/maven-parent/pull/165#issuecomment-2847939741

   > But it can still apply source or target when compiling against Java 8?
   
   Yes, but this is not useful since the plugin requires Java 17 for execution 
anyway. Therefore, user should specify `--release 8` instead, except when using 
forked JVM.
   
   If we keep default values for source and target, then in the current version 
of compiler plugin 4, the configuration needs to look like that:
   
   ```xml
   <source/>  <!-- Erase the source configuration inherited from the parent pom 
-->
   <target/>
   <release>8</release>
   ```
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to