slachiewicz opened a new pull request, #1032: URL: https://github.com/apache/maven-wagon/pull/1032
Replaces plexus-utils file operations in the SCM wagon and the shared test utilities with JDK APIs. Split out of [#1028](https://github.com/apache/maven-wagon/pull/1028) so the Windows deletion fix is reviewable on its own. Deleting a checkout directory clears the read-only attribute before retrying. Git writes loose object files as read-only, and Windows refuses to delete them until the flag is cleared. This is the failure in the Windows JDK 8 job of #1028; the test-side helper already had the retry, but the main-code deletion walker did not. Verified: `mvn -q -B -N spotless:check` → PASS. `mvn -B -pl wagon-providers/wagon-scm -am -Dtest=ScmGitExeWagonTest -Dsurefire.failIfNoSpecifiedTests=false test` → 15 tests, 0 failures, 0 errors. `mvn -B -q -pl wagon-providers/wagon-ssh-common-test -am -DskipTests test-compile` → PASS. -- 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]
