-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support Dropwizard 4.0.x #231
base: master
Are you sure you want to change the base?
Conversation
import javax.activation.UnsupportedDataTypeException; | ||
import javax.validation.constraints.NotNull; | ||
import jakarta.activation.UnsupportedDataTypeException; | ||
import jakarta.validation.constraints.NotNull; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropwizard 4 uses Jakarta EE 9 which changes the namespace.
@@ -140,6 +141,12 @@ | |||
<!-- for convergence --> | |||
<dependencyManagement> | |||
<dependencies> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running locally I had to add junit to be able to run.
@@ -37,7 +37,8 @@ | |||
</modules> | |||
|
|||
<properties> | |||
<dropwizard.version>2.0.21</dropwizard.version> | |||
<java.version>11</java.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropwizard 4 minimum version is java11.
Hi. I'm not sure if this repo is often maintained but I was looking to upgrade to Dropwizard 4 and I found usage of this library that needed to be upgraded as well to support Dropwizard.
Most of the changes are pretty obvious, Dropwizard 4 upgrades jakarta and java versions. Additionally I had to add a junit dependency to run
mvn test
and BaseReporterFactory was moved.