【发布时间】:2015-07-26 11:47:26
【问题描述】:
如何在 ant 的 maven 任务中排除传递依赖。 Scope: runtime 和 provided 在这种情况下似乎没有任何帮助。 这是我的 build.xml
<artifact:remoteRepository url="https://mynexus/" id="remote.repository"/>
<artifact:dependencies filesetId="dependency.fileset" useScope="runtime">
<dependency version="1.7.0" artifactId="commons-beanutils" groupId="commons-beanutils"/>
</artifact:dependencies>
commons-beanutils 具有我需要排除的依赖项 commons-logging。
【问题讨论】:
标签: maven ant maven-ant-tasks