2
我使用常春藤和我工作的公司有几个有趣的小常春藤和蚂蚁教程。小箭头 - >在常春藤依赖部分做什么?
每个教程都很有帮助完全是围绕箭头在常规构建xml文件中所做的操作,用于依赖项部分。
因此,鉴于这种设置:
<configurations>
<conf name = "runtime" />
<conf name = "build-tests" extends="runtime" />
</configurations>
...
<dependencies>
...
<dependency org="blah" name="junit" rev="default" conf="build-tests->runtime"/>
<dependency org="blahblah" name="xmlutil" rev="default" conf="build-tests->testing"/>
<dependency org="blahblahblah" name="slf4j" rev="default" conf="build-tests->simple"/>
</dependencies>
什么是每个属地申报?我认为构建测试已经在扩展运行时(来自配置声明),那么为什么依赖关系会重申这一点?需要吗?
testing
和simple
没有在ivy.xml中声明我有,它们是魔法,并且存在于正式声明之外吗?
谢谢!