slachiewicz opened a new pull request, #2346: URL: https://github.com/apache/maven-resolver/pull/2346
Master counterpart of #2343, following up on #2340. Now that Surefire creates `target/surefire-tmp`, the local `mkdirs()` workarounds in tests are dead code. Remove the 9 `// hack for Surefire` calls (and their now-unused imports) across generator-gnupg, generator-sigstore, impl, the three named-lock modules and minio, plus the two Jetty `@BeforeAll` blocks that documented the same problem for Brotli4j. Also set Failsafe's `tempDir` to `failsafe-tmp` so it creates the directory its `java.io.tmpdir` setting points at, covering ITs too. Verified locally: `mvn -B -q clean verify -DskipITs` green on JDK 21; `mvn -B -q -pl maven-resolver-named-locks-hazelcast -am verify -Prun-its` green (4 ITs); `spotless:check` clean. The uncommented `createDirectories` calls in `DirectoryUtilsTest` are deliberately left alone — drafts #2341/#2342 touch that file. -- 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]
