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

Remove runtime dependency on maven-artifact #266

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

Conversation

ryanrupp
Copy link
Contributor

This was primarily being used to check the Java version to handle < Java 7 in a different way for date formatting, but since Java 8 is the minimum version at this point it is no longer necessary. Also ends up removing the transitive dependency on commons lang which had minimal usage but replaced with an internal StringUtils equivalent.

@ryanrupp ryanrupp force-pushed the remove-maven-artifact-dependency branch 2 times, most recently from 30afdcb to 8b2d3de Compare November 22, 2024 16:30
This was primarily being used to check the Java version to handle < Java 7 in a different way for date formatting, but since Java 8 is the minimum version at this point it is no longer necessary. Also ends up removing the transitive dependency on commons lang which had minimal usage but replaced with an internal StringUtils equivalent.
@ryanrupp ryanrupp force-pushed the remove-maven-artifact-dependency branch from 8b2d3de to 2be6801 Compare November 22, 2024 16:31
@ryanrupp
Copy link
Contributor Author

ryanrupp commented Nov 22, 2024

Will note this change came in as part of this commit but the compiler target at that point was already 1.8 (so there should be no Java 6 runtime users unless someone is manually compiling this with a change target of 1.6). Unclear what the minimum Java version is supposed to be, I would personally say Java 8 is reasonable at this point, looks like at some point this was actually at Java 11 but pulled back to 8 here.

@ryanrupp
Copy link
Contributor Author

I also confirmed the latest release (6.2.2) on maven central is indeed producing Java 8 output bytecode (in case there was another build system/config doing the actual publishing).

file com/messagebird/APIResponse.class
com/messagebird/APIResponse.class: compiled Java class data, version 52.0 (Java 1.8)

@ryanrupp
Copy link
Contributor Author

I guess would maybe use this PR (or a follow up) to call out the minimum Java version requirement in the README

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