slachiewicz opened a new pull request, #336:
URL: https://github.com/apache/maven-dependency-analyzer/pull/336

   Backport the missing-output-directory handling discovered while rebasing the 
Maven 4 rewrite (#322).
   
   Tracking: apache/maven-dependency-analyzer#329
   
   - `DefaultDependencyClassesProvider.getDependencyClasses` returns an empty 
result when the project's output directory is null or does not exist, instead 
of handing a URL for a missing directory to the analyzer.
   - Add a test asserting that no analyzer call is made for a missing directory.
   
   This is behavior-preserving for normal builds and makes the 1.x behavior 
explicit rather than relying on the URL source silently returning an empty 
stream. It also removes a compatibility workaround that #322 needed on the 
Maven 4 side.
   
   Verified: `JAVA_HOME=zulu-21 mvn -B -o -Prun-its verify` → BUILD SUCCESS, 
unit tests 154 → 155 (one new test, none dropped), invoker ITs 23 passed / 0 
failed.
   


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