Hey guys,
I know that maven is a great tool and you really care about making this project really sweet.
Although, it's a problem when you use so many libraries to make an http call passing json:
[INFO] - com.sendgrid:sendgrid-java:jar:3.1.0:compile
[INFO] +- com.sendgrid:java-http-client:jar:2.3.4:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
[INFO] | +- org.mockito:mockito-core:jar:1.10.19:compile
[INFO] | | +- (org.hamcrest:hamcrest-core:jar:1.1:runtime - omitted for conflict with 1.2.1)
[INFO] | | - (org.objenesis:objenesis:jar:2.1:runtime - omitted for duplicate)
[INFO] | - org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] | +- (org.apache.httpcomponents:httpcore:jar:4.4.4:compile - omitted for duplicate)
[INFO] | +- (commons-logging:commons-logging:jar:1.2:compile - omitted for conflict with 1.1)
[INFO] | - (commons-codec:commons-codec:jar:1.9:compile - omitted for conflict with 1.10)
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.5.3:compile
[INFO] +- (com.fasterxml.jackson.core:jackson-databind:jar:2.5.3:compile - omitted for conflict with 2.6.4)
[INFO] - (com.fasterxml.jackson.core:jackson-annotations:jar:2.5.3:compile - omitted for conflict with 2.6.4)
This conflicts the hell out with spring, for example. Now I am wasting a lot of time trying to solve this.
Also, it seems you're packing test classes like "mockito" by mistake.
Can anyone fix this?
thanks
rafa
Hey guys,
I know that maven is a great tool and you really care about making this project really sweet.
Although, it's a problem when you use so many libraries to make an http call passing json:
[INFO] - com.sendgrid:sendgrid-java:jar:3.1.0:compile
[INFO] +- com.sendgrid:java-http-client:jar:2.3.4:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.4:compile
[INFO] | +- org.mockito:mockito-core:jar:1.10.19:compile
[INFO] | | +- (org.hamcrest:hamcrest-core:jar:1.1:runtime - omitted for conflict with 1.2.1)
[INFO] | | - (org.objenesis:objenesis:jar:2.1:runtime - omitted for duplicate)
[INFO] | - org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] | +- (org.apache.httpcomponents:httpcore:jar:4.4.4:compile - omitted for duplicate)
[INFO] | +- (commons-logging:commons-logging:jar:1.2:compile - omitted for conflict with 1.1)
[INFO] | - (commons-codec:commons-codec:jar:1.9:compile - omitted for conflict with 1.10)
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.5.3:compile
[INFO] +- (com.fasterxml.jackson.core:jackson-databind:jar:2.5.3:compile - omitted for conflict with 2.6.4)
[INFO] - (com.fasterxml.jackson.core:jackson-annotations:jar:2.5.3:compile - omitted for conflict with 2.6.4)
This conflicts the hell out with spring, for example. Now I am wasting a lot of time trying to solve this.
Also, it seems you're packing test classes like "mockito" by mistake.
Can anyone fix this?
thanks
rafa