Providing a Value for ${jersey.version}

14 views
Skip to first unread message

William Herbert

unread,
Mar 10, 2024, 1:03:40 AMMar 10
to dropwizard-dev
In this part of the documentation:

It says to use ${jersey.version} for importing the Grizzly dependency.  I tried using the latest version of the artifact available (3.1.5), but was met with a host of error messages in my protected resource unit tests.

After some Googling, I learned at the Jersey website (direct quote):
  • The latest stable release of Jersey is 2.41.
  • The latest published release of Jakarta EE 9 Jersey is 3.0.12.
  • The latest published release of Jakarta EE 10 Jersey is 3.1.5.
I'm not intimately familiar with the Jersey/Jakarta relationship, so I thought it would be helpful for a special note in the Dropwizard documentation to note that Jersey 3.0.x is for Jakarta EE 9 and therefore for Dropwizard 4.x and similarly that Jersey 3.1.x is for Jakarta EE 10 and therefore for Dropwizard 5.x.

I just need someone to tell me I've got that right before I go updating documentation.

Jochen Schalanda

unread,
Mar 13, 2024, 7:01:02 PMMar 13
to dropwiz...@googlegroups.com
Hi William,

You can find the exact dependency versions for each version of Dropwizard by looking into dropwizard-dependencies, for example Dropwizard 4.0.7 is using Eclipse Jersey 3.0.12.


Cheers
Jochen
Reply all
Reply to author
Forward
0 new messages