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

   Add `Path` overloads to the two low-level analyzer interfaces and deprecate 
the `URL` methods they supersede. This is source-compatible on Java 8 and gives 
downstreams a migration path before the Maven 4 API change in #322.
   
   Tracking: apache/maven-dependency-analyzer#329
   
   - Add `analyze(Path)` / `analyze(Path, ClassesPatterns)` and 
`analyzeUsages(Path, ClassesPatterns)` default methods to `DependencyAnalyzer`.
   - Add `analyze(Path)` / `analyze(Path, ClassesPatterns)` default methods to 
`ClassAnalyzer`.
   - Deprecate the `URL` methods with Javadoc pointing at the `Path` 
replacements; existing implementations keep working.
   - Add tests asserting the `Path` and `URL` overloads return the same results.
   
   Verified: `JAVA_HOME=zulu-21 mvn -B -o -Prun-its verify` → BUILD SUCCESS, 
unit tests 146 → 148 (two new tests, 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