raydac / mvn-golang

maven plugin to automate GoSDK load and build of projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Can't create temp folder" when building modules concurrently

laurentgo opened this issue · comments

When using Maven -T option to build modules in parallel, the mvninstall goal may fail with the following error:

[ERROR] Failed to execute goal com.igormaznitsa:mvn-golang-wrapper:2.3.8:mvninstall (default-mvninstall) on project xxx: Can't create temp folder : .tmp_pack_folder_17A62E55A9A

It seems that the temporary folder is created at the root of the reactor (instead of a per-module location) and that if 2 modules are using the plugin/goal at the same time, they may conflict with each other.