Skip to content

changes for upgrade to dw 2.1, jersey > 2.25 #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

jaredstehler
Copy link

Support migrating to jersey 2.26+, which has breaking changes in the hk2 ServiceLocator.

  • Remove/replace abandoned dep: com.squarespace.jersey2-guice:jersey2-guice-impl -- implementing HK2 to Guice Bridge in GuiceComponentProvider
    • This impl is inspired by the spring4 injection provider
    • I'm getting around the chicken-egg issue of referencing the InjectionManager in the guice module via static injection on server context init.
  • Upgrade dropwizard deps to 2.1.x -- 2.0+ has jersey 2.26+, and 2.1 includes a fix to support slf4j 2.x, logback 1.3+

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

Successfully merging this pull request may close these issues.

1 participant