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

   ## Summary
   
   Warn when the `select-jdk-toolchain` goal is configured without any JDK 
requirements instead of silently returning. This mirrors the existing 
`toolchain` goal and makes accidentally empty configuration visible.
   
   The new invoker test covers the empty configuration and checks the warning 
in the Maven build log.
   
   Fixes #183
   
   ## Testing
   
   - `mvn -Dspotless.skip=true -DskipTests=false test` — passed
   - `mvn -Prun-its -Dinvoker.test=select-jdk-empty -Dspotless.skip=true 
-DskipTests=false verify` — the fixture reached and emitted the expected 
warning; the local Invoker verification was blocked by the environment’s JDK 
27/Groovy incompatibility (`Unsupported class file major version 71`)
   - Checkstyle, RAT, and `git diff --check` — passed
   
   Spotless was skipped because its bundled Palantir formatter fails with an 
existing JDK compatibility error in this environment.


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