问题
I have a question regarding parallel maven build. If several maven builds are running in same machine at the same time, and some build results are used by other builds with snapshot version dependency, what will happen? Can maven handle such situation and get correct snapshot version?
回答1:
See the explanations here:
Maven concurrent builds on CI server
In other words. The behaviour in such cases is not defined, cause the access to the local repository is not thread safe.
So i would avoid such things.
来源:https://stackoverflow.com/questions/16584226/does-maven-build-thread-safe-for-snapshot-projects