Skip to content

maven dependencies hell #164

Description

@mufumbo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions