Comments

edited by sergei-ivanov

Hi,

We are seeing this error sporadically in our builds

14:24:11 [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile-custom (default) on project sdk: Unable to copy the file to c:\RC\Jenkins\workspace\sdk\shared\target\protoc-plugins: c:\RC\Jenkins\workspace\sdk\shared\target\protoc-plugins\protoc-3.1.0-windows-x86_64.exe (The process cannot access the file because it is being used by another process) -> [Help 1]

it does not happen all the time, and often a subsequent build will work fine but it's a bit annoying as you can understand.

This comment has been minimized.

I believe I have seen it a couple of times too and I suspect it is because of a virus scanner under Windows holding on to the file. However, I have an idea how to improve things when multiple plugin goals are being run in a sequence. I'll post an update when the new version is ready.

This comment has been minimized.

On Wed, Jul 19, 2017 at 1:38 AM Sergei Ivanov ***@***.***> wrote:
I believe I have seen it a couple of times too and I suspect it is because
of a virus scanner under Windows holding on to the file. However, I have an
idea how to improve things when multiple plugin goals are being run in a
sequence. I'll post an update when the new version is ready.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAL1AAiJdmn4rZSyDb2La_8_LinToSkaks5sPUIAgaJpZM4OX78z>
.

This comment has been minimized.

I have committed a small change that I hope will fix the problem. Unfortunately, I cannot reproduce the problem on my current system, so I cannot tell if it's been fixed. Please give version 0.5.1 a try (I can see it's already been synced to Maven central).