Skip to content

Instantly share code, notes, and snippets.

@chids
Created October 1, 2013 08:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chids/6775719 to your computer and use it in GitHub Desktop.
Save chids/6775719 to your computer and use it in GitHub Desktop.

So I guess I should explicitly exclude joda-time from the dropwizard-core dep and then declare it as an explicit dependency in my pom, thus locking down the version I actually want?

[WARNING] 
Dependency convergence error for joda-time:joda-time:2.2 paths to dependency are:
+-my:component:0.0.3-SNAPSHOT
  +-com.yammer.dropwizard:dropwizard-core:0.6.2
    +-joda-time:joda-time:2.2
and
+-my:component:0.0.3-SNAPSHOT
  +-com.yammer.dropwizard:dropwizard-core:0.6.2
    +-com.fasterxml.jackson.datatype:jackson-datatype-joda:2.1.2
      +-joda-time:joda-time:2.1
@froderik
Copy link

froderik commented Oct 1, 2013

ouch - evil! that is gonna cause a nice little pom-party. :-) but it is only a warning? (haven't touched maven for over a year!)

@codahale
Copy link

codahale commented Oct 1, 2013

Yes, that's what you should do.

(FWIW, Dropwizard 0.7.0 will be enforcer-compliant.)

@codahale
Copy link

codahale commented Oct 1, 2013

Yes, that's what you should do.

(FWIW, Dropwizard 0.7.0 will be enforcer-compliant.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment