Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Dropwizard 1.2.2 compatibility #44

Open
psouquet opened this issue May 31, 2018 · 0 comments
Open

Dropwizard 1.2.2 compatibility #44

psouquet opened this issue May 31, 2018 · 0 comments

Comments

@psouquet
Copy link

Hi,

It seems that classes were moved from com.google.code.findbugs:annotations:3.0.1 to com.google.code.findbugs:jsr305:3.0.2. Dropwizard (v 1.2.2 in my case) now transitively depends on jsr305:3.0.2, and dropwizard-index-page:1.2.0 still on annotations:3.0.1, resulting in duplicates classes preventing compilation.

Do you plan on releasing new versions with up to date dependencies ?

If anyone faces the same issue, I worked around it with exclusions :

   <dependency>
      <groupId>com.palantir.indexpage</groupId>
      <artifactId>dropwizard-index-page</artifactId>
      <version>1.2.0</version>
      <exclusions>
        <exclusion>
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>annotations</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

Thanks !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant