Skip to content

[SDK-3212] Remove impl package export in module-info #553

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

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

poovamraj
Copy link
Contributor

Changes

We are removing the option where library users can use our implementations. This will ensure we will be able to change the internal working much easier and avoid unwanted dependencies on customer end. Though we have to remember that projects that doesn't use module system will still be able to access our impl package

We have also removed the comment which says to remove transitive for Jackson. We should not use 'remove transitive' since that will expose the Jackson library through ours. The current use of Jackson library is correct. This StackOverflow answer explains it better - https://stackoverflow.com/a/46504020

Testing

We created a new project and tested the library as a dependency with module-info removed. This was tested in Java 8 (which doesn't have module support), Java 11 with modules and Java 11 without modules

@poovamraj poovamraj merged commit f6301e1 into v4-dev Mar 17, 2022
@poovamraj poovamraj modified the milestones: v4-Beta, 4.0.0-beta.0 May 6, 2022
@evansims evansims deleted the update-module-support branch July 5, 2022 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants