udayagiri-sivasai-dev opened a new pull request, #70:
URL: https://github.com/apache/maven-jdeprscan-plugin/pull/70

   This change updates the jdeprscan executable lookup logic to avoid failing 
immediately when JAVA_HOME is not set.
   
   Previously, if toolchain lookup did not return a usable path and JAVA_HOME 
was empty, the plugin threw an exception saying that JAVA_HOME was not 
correctly set.
   
   With this change, the plugin returns the platform-specific command name 
(`jdeprscan` / `jdeprscan.exe`) so the operating system can resolve it from 
PATH.
   
   Verification:
   - Built the plugin locally with `mvn clean install`
   - Cleared JAVA_HOME in the terminal
   - Ran `mvn 
org.apache.maven.plugins:maven-jdeprscan-plugin:3.0.1-SNAPSHOT:jdeprscan -e`
   - Confirmed the old JAVA_HOME failure no longer occurs
   - Verified full build passes with `mvn clean install`


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