I am using Maven2. When I look at the output mvn dependency:tree -Dverbose, I see a lot:
[INFO] +- org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[INFO] | +- (org.springframework:spring-beans:jar:3.0.5.RELEASE:compile - omitted for duplicate)
[INFO] | +- (org.springframework:spring-core:jar:3.0.5.RELEASE:compile - omitted for duplicate)
[INFO] | +- (org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile - omitted for duplicate)
[INFO] | \- (org.springframework:spring-tx:jar:3.0.5.RELEASE:compile - omitted for duplicate)
All of them are also included in my pom as dependencies. My question is how to follow the policy, leave it, exclude only version conflicts or exclude every transitive dependency.
I could not see anything related to this in the manual.
Thank!
source
share