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中聲明我有,它們是魔法,並且存在於正式聲明之外嗎?
謝謝!