0

我有一个关于并行 Maven 构建的问题。如果多个 maven 构建同时在同一台机器上运行,并且某些构建结果被具有快照版本依赖关系的其他构建使用,会发生什么?maven 可以处理这种情况并获得正确的快照版本吗?

4

1 回答 1

3

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.

于 2013-05-16T11:25:27.373 回答