jira-importer commented on issue #182: URL: https://github.com/apache/maven-clean-plugin/issues/182#issuecomment-2690264386
**[Gili](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cowwoc)** commented When I run: `mvn --batch-mode -V -U -e clean install release:prepare release:perform -Pwindows-i386 -Dsurefire.useFile=false -DreleaseVersion=3.7.0-b1 -DdevelopmentVersion=3.7.0-b2-SNAPSHOT -DdryRun=true` the "clean install" phases pass fine. "release:prepare" invokes: `cmd.exe /X /C ""C:\Program Files\apache-maven-3.3.9\bin\..\bin\mvn" -s C:\Users\Gili\AppData\Local\Temp\release-settings8305726027763569172.xml clean verify --no-plugin-updates --batch-mode -Psonatype-oss-release -P always-active,windows-i386"` This fails with: ``` Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project cmake-binaries-plugin: Failed to clean project: Failed to delete C:\Users\Gili\Documents\cmake-maven-project-github - Copy\cmake-binaries-plugin\target\cmake-binaries-plugin-3.7.0-b1-SNAPSHOT.jar -> [Help 1] ``` If I break down the original command into "clean install" in one run, followed by "release:prepare release:perform" in another run, everything passes just fine. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org