Last active
December 16, 2015 15:59
-
-
Save ittaiz/5459609 to your computer and use it in GitHub Desktop.
mvn dependency:tree output showing only spring-beans:3.1.1 is used while in reality spring-beans:3.2.2 was used in runtime.
Probably maven dependency plugin bug.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>mvn dependency:tree -Dverbose -Dincludes=org.springframework | |
... | |
(omitted for clarity) | |
... | |
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ wix-feature-toggle-administration --- | |
[INFO] artifact org.springframework:spring-beans: checking for updates from central | |
[INFO] artifact org.springframework:spring-beans: checking for updates from snapshots | |
[INFO] artifact org.springframework:spring-expression: checking for updates from central | |
[INFO] artifact org.springframework:spring-expression: checking for updates from snapshots | |
[INFO] artifact org.springframework:spring-tx: checking for updates from central | |
[INFO] artifact org.springframework:spring-tx: checking for updates from snapshots | |
[INFO] com.wixpress.common:wix-feature-toggle-administration:jar:2.180.0-SNAPSHOT | |
... | |
[INFO] +- org.springframework.data:spring-data-mongodb:jar:1.0.1.RELEASE:compile | |
[INFO] | +- org.springframework:spring-beans:jar:3.1.1.RELEASE:compile | |
[INFO] | | \- (org.springframework:spring-core:jar:3.2.2.RELEASE:compile - omitted for conflict with 3.1.1.RELEASE) | |
[INFO] | +- org.springframework:spring-expression:jar:3.1.1.RELEASE:compile | |
[INFO] | | \- (org.springframework:spring-core:jar:3.2.2.RELEASE:compile - omitted for conflict with 3.1.1.RELEASE) | |
[INFO] | \- org.springframework.data:spring-data-commons-core:jar:1.2.1.RELEASE:compile | |
[INFO] | +- (org.springframework:spring-beans:jar:3.1.1.RELEASE:compile - omitted for duplicate) | |
[INFO] | \- (org.springframework:spring-tx:jar:3.1.1.RELEASE:compile - omitted for duplicate) | |
[INFO] +- com.wixpress.common:wix-framework:jar:2.180.0-SNAPSHOT:compile | |
[INFO] | +- org.springframework:spring-core:jar:3.1.1.RELEASE:compile | |
[INFO] | | \- org.springframework:spring-asm:jar:3.1.1.RELEASE:compile | |
... | |
I've removed additional outputs for clarity. The additional outputs were all 3.1.1 and were further down the tree (so irrelevant due to maven conflict resolving mechanism) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment