efegokdemir opened a new pull request, #198:
URL: https://github.com/apache/maven-toolchains-plugin/pull/198

   ## Summary
   
   Remove the null guard in `ToolchainMojo` because Maven validates the 
`@Parameter(required = true)` field before mojo execution. This eliminates 
unreachable behavior and keeps missing configuration errors under Maven 
parameter validation.
   
   Fixes #175
   
   ## Testing
   
   - `mvn -Dspotless.skip=true -DskipTests=false test` — passed
   - `mvn -Prun-its -Dspotless.skip=true -DskipTests=false verify` — 
integration tests were blocked by the local JDK 27/Groovy incompatibility 
(`Unsupported class file major version 71`); the module build and 5/8 invoker 
projects completed
   - Checkstyle, RAT, and `git diff --check` — passed
   
   The repository Spotless formatter could not run locally because its bundled 
Palantir formatter fails with `NoSuchFieldError` under the available JDK.


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