carlossg / docker-maven

Official Docker image with Maven
Apache License 2.0
524 stars 423 forks source link

test: bump surefire to 3.x #331

Open carlossg opened 1 year ago

carlossg commented 1 year ago

in windowsservercore

Error:  Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8:test (default-test) on project example: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8:test failed: java.io.IOException: Unable to create temporary directory C:\Users\ContainerAdministrator\AppData\Local\Temp\surefire16553834126865999132 -> [Help 1]

looks like it is running as ContainerAdministrator?

slide commented 1 year ago

I tried this locally and was not seeing the same failures as are being seen here on GH. Let me back out my other changes for the admin check and start fresh from this PR.

slide commented 1 year ago

I checked out the surefire3 branch that this PR is based on and it runs correctly for me (except the settings.xml test which fails, if I add $stdout = $stdout.Trim() it passes though).