2016-11-06 43 views
0

我学习Arquillianthis guide一点点有以下一小段代码片段:什么意思<version>#{site.components ['arquillian-core']。latest_version}</version> in Maven?

<dependencyManagement> 
    <dependencies> 
     <dependency> 
      <groupId>org.jboss.arquillian</groupId> 
      <artifactId>arquillian-bom</artifactId> 
      <version>#{site.components['arquillian-core'].latest_version}</version> 
      <scope>import</scope> 
      <type>pom</type> 
     </dependency> 
    </dependencies> 
</dependencyManagement> 

,但我不知道如何解释这种依赖性,尤其是<version>线,任何人都可以提供一些线索就此事?我的问题是:EL表达式的版本是什么?什么是bom包? (我读过它代表材料的构建,但我不知道它是什么)。

在此先感谢您的答案。

回答

1

其他被卡住的人应该检查the solution provided by the dev in response to the OP here.

TL; DR:这是教程中的错误,版本应该是:

<version>1.1.11.Final</version> 
+0

感谢您填写此问题。事实上,我在Jboss开发者论坛上提出了这个问题,它在文档生成中变成了一个错误。感谢你的宝贵时间。 –