简体   繁体   English

Camunda BOM版本问题

[英]Camunda BOM Version Issue

I am trying to use Camunda and spring and following the tutorial here . 我正在尝试使用Camunda和spring并按照此处的教程进行操作。

In our project we use enforcer to ensure we don't have different versions of the same jars being into the class path. 在我们的项目中,我们使用强制执行器来确保在类路径中没有相同jar的不同版本。 When I create my pom exactly like Camunda specifies my build fails because of different versions, specifically on the camunda-commons-typed-values and -logging jars. 当我像Camunda一样完全创建pom时,由于版本不同,尤其是在camunda-commons-typed-values和-logging jars上,我的构建失败。 In some places it uses version 1.3.0 specified in the BOM and in other places it uses version 1.2.0 hard-coded into the dependency.. 在某些地方,它使用BOM表中指定的1.3.0版本,在其他地方,它使用硬编码到依赖项中的1.2.0版本。

I am not sure how I should get around this (disabling enforcer is not an option). 我不确定应该如何解决(禁用强制执行器不是一种选择)。 Which version should be used? 应该使用哪个版本? Why is version 1.2.0 sometimes hard-coded? 为什么有时会对1.2.0版进行硬编码?

Thanks 谢谢

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. 在我们的多层项目中,我在camunda模块中指定了BOM,然后将其导入到另一个模块中。 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 然后,我将BOM表从模块中移出,对camunda模块和导入它的模块都通用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM