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

Adds maven-compiler-plugin and turns on linter warnings #506

Closed
wants to merge 1 commit into from

Conversation

scottopell
Copy link
Contributor

Currently have mostly unchecked-cast warnings, but a few others mixed in. This change should not go in without fixing the current linter errors and enforcing this via CI

Comment on lines +265 to +266
<source>1.7</source>
<target>1.7</target>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<source>1.7</source>
<target>1.7</target>
<source>${jdk.version}</source>
<target>${jdk.version}</target>

And then add a property like https://github.com/DataDog/java-dogstatsd-client/blob/a6be80a13aae4eb2ec31c222ee5fae4ce6d0d983/pom.xml#L18 so makes it easier to override or bump when needed.

@scottopell
Copy link
Contributor Author

Closing for now, can be taken up again in the future.

@scottopell scottopell closed this Jan 3, 2024
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.

2 participants