比如说:parent里面有 依赖  jedis 2.0.0

<parent>
<groupId>com.qq</groupId>
<artifactId>root</artifactId>
<version>1.0.0-release</version>
</parent>

当前的pom.xml里面有依赖,jesque,而jesque又依赖jedis2.2.1

2个jedis有冲突,请问,如何不继承父类的jedis,但是,其他的要继承,请问,怎么做

<groupId>xxx.yyy.zzz</groupId> <artifactId>abcd</artifactId> <scope>test</scope> <!-- 特殊处理,不引入父类lib --> </dependency> </dependencies> 评论 ( 1 )