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

   ## Summary
   
   Use the resolved plugin coordinates when `help:describe` cannot retrieve a 
plugin descriptor.
   
   When a plugin is selected by prefix, the mojo's direct `groupId`, 
`artifactId`, and `version` fields are unset. The previous error therefore 
reported `null` coordinates even though the prefix lookup had resolved them.
   
   ## Changes
   
   - Build the descriptor lookup failure message from the resolved `Plugin` 
request.
   - Add a regression test covering prefix lookup with a descriptor failure.
   
   ## Testing
   
   - `mvn -Dspotless.skip=true -DskipTests=false test` — passed; 31 tests 
passed.
   - Checkstyle, Apache RAT, compilation, and `git diff --check` — passed.
   - Spotless was skipped because the available JDK triggers the repository's 
existing Palantir formatter `NoSuchFieldError` in unchanged files.
   
   ## Notes
   
   This contribution was prepared with AI assistance and reviewed against the 
existing `DescribeMojo` lookup flow and test conventions.
   
   Fixes #386
   


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