Camunda BOM版本问题

时间:2016-08-30 04:08:36

标签: camunda

我正在尝试使用Camunda和spring并遵循教程here

在我们的项目中,我们使用强制执行器来确保我们不会将相同jar的不同版本放入类路径中。当我创建我的pom时,Camunda指定我的构建因不同版本而失败,特别是在camunda-commons-typed-values和-logging jar上。在某些地方,它使用BOM中指定的版本1.3.0,在其他地方,它使用版本1.2.0硬编码到依赖项中。

我不确定如何解决这个问题(禁用强制执行器不是一种选择)。应该使用哪个版本?为什么版本1.2.0有时会被硬编码?

由于

1 个答案:

答案 0 :(得分:1)

Apologies this was just me being a knob. In our multi layer project i had the BOM specified in a camunda module that i imported into another module. That caused the build to fail with the version issue. I then moved the BOM out of the module into a parent that is common to both the camunda module and the module importing it, and now it works