Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

spags-lacework
Copy link

@spags-lacework spags-lacework commented Jul 17, 2024

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.

@spags-lacework spags-lacework requested a review from a team as a code owner July 17, 2024 02:19
Comment on lines -10 to 12
import javax.activation.UnsupportedDataTypeException;
import javax.validation.constraints.NotNull;
import jakarta.activation.UnsupportedDataTypeException;
import jakarta.validation.constraints.NotNull;

Copy link
Author

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>
Copy link
Author

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>
Copy link
Author

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.

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