maven去除相冲突的jar包 .

<dependency>  
  <groupId>org.hibernate</groupId>  
  <artifactId>hibernate</artifactId>  
  <version>3.2.5.ga</version>  
  <exclusions>  
    <exclusion>  
      <groupId>cglib</groupId>  
      <artifactId>cglib</artifactId>  
    </exclusion>  
  </exclusions>  
</dependency> 

 

你可能感兴趣的:(maven)