Maven为artifactId排除了通配符

时间:2016-09-26 06:22:19

标签: java maven

我有依赖列表,因为我需要很少而且我想要排除使用maven。

Maven依赖树显示类似的东西。

this.setState({name: 'Tiger', id: '1234567890', others: {other1: 1, other2: 2}})

在这里,我想+- com.test.rtc.utils:com.test.rtc.utils.pamaintenance:jar:2016.2.0-SNAPSHOT:compile | \- com.test.ibm:rtcplain:jar:6.0.2:compile | +- com.test.libs:apache-mime4j:jar:0.6:compile | +- com.test.libs:com.ibm.icu:jar:4.2.1.v20100412:compile | +- com.test.libs:com.ibm.rational.wvcm.ct:jar:3.0.1000.v20151207_2315:compile | +- com.test.libs:com.ibm.rational.wvcm.factory:jar:3.0.200.v20151207_2315:compile | +- com.test.libs:com.ibm.rational.wvcm.interop:jar:3.1.800.v20151207_2315:compile | +- com.test.libs:com.ibm.rational.wvcm.ri.repo:jar:3.0.700.v20151207_2315:compile | +- com.test.libs:com.ibm.team.build.client:jar:3.0.1300.v20151207_2315:compile | +- com.test.libs:com.ibm.team.build.common:jar:3.1.1300.v20160301_1740:compile | +- com.test.libs:com.ibm.team.calm.foundation.common:jar:3.1.1200.v20160205_0047:compile | +- com.test.libs:com.ibm.team.connector.scm.client:jar:3.0.1100.v20151207_2315:compile | +- com.test.libs:com.ibm.team.connector.scm.common:jar:3.1.200.v20151207_2229:compile | +- com.test.libs:com.ibm.team.connector.scm.operations:jar:3.1.500.v20151207_2315:compile | +- com.test.libs:com.ibm.team.datawarehouse.common:jar:2.2.1000.v20150218_1646:compile | +- com.test.libs:com.ibm.team.dev.jdojo.runtime.common:jar:3.0.800.v20151207_2229:compile | +- com.test.libs:com.ibm.team.enterprise.buildablesubset.client:jar:3.1.700.v20160212_0131:compile | +- com.test.libs:com.ibm.team.enterprise.buildablesubset.common:jar:3.1.900.v20160211_0055:compile +- junit:junit:jar:4.12:test .................. .................. 只有{I} exclude中以<groupId>com.test.libs</groupId>开头的工件:com.ibm.team

我的maven依赖关系如下所示:

<artifactId>com.ibm.team.*</artifactId>

但这不起作用。 如何实现这一目标,请帮助。

0 个答案:

没有答案