slachiewicz opened a new pull request, #3578:
URL: https://github.com/apache/maven-surefire/pull/3578

   `surefire-api` ends up on the test class path of every project, so it can 
take no dependency for its path matching and directory scanning. The six 
classes it used from the shaded maven-shared-utils `io` package 
(`DirectoryScanner`, `SelectorUtils`, `MatchPatterns`, `MatchPattern`, 
`ScanConductor`, `DirectoryScanResult`) are copied verbatim into 
`org.apache.maven.surefire.api.util.internal`, with the package line changed, 
the class-level deprecation marks dropped and a note on the origin; 
`DefaultDirectoryScanner`, `ResolvedTest`, `TestListResolver`, 
`SpecificTestClassFilter` and `SpecificFileFilter` use the copies. Nothing in 
Surefire's own code uses the shaded `io` package after this; tests still may.
   
   Verified: `mvn verify` on `surefire-api`, `surefire-booter` and 
`maven-surefire-common` → 219, 175 and 891 tests pass; `surefire-its` not run.
   
   Step 2 of #3574.
   


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