-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add module descriptor #1357
Comments
Open Feign can be used with Java 9+ projects, so your request is misleading, as these newer JDKs will derive an automatic module, as you've seen. We do not include module descriptors as our target platform is still Java 8. We will consider adding module descriptors when we update our baseline for the latest Java 11 LTS |
Maven supports building older libraries with java 8 while still shipping a java 9+ module-info https://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html |
Alternatively the ModiTect tools may be used to add a full module descriptor while still remaining Java8 compatible Jetty did it this way before moving their baseline to Java 11. |
If you willing to send a pull request, I can review, approve, merge and cut a release with this |
Great! Just did a quick check for split packages on all projects defined by the |
Blocked by Netflix/ribbon#387 |
The Is this service really required? If so, could it be exported by the owning module? |
Netflix ribbon is in maintenance mode and has not posted a release since Aug 5 2001. Making ribbon modular requires resolving split packages which would result in binary compatibility breakage (prompting a major version bump). That's a lot of effort and there's no guarantee the change will be accepted nor released. Instead I'd recommend not modularizing |
Hmm why was this marked as completed? I'm waiting on feedback from Feign team members to see if the proposed changes are adequate. Then I can send a PR. |
I just closed the issue, I don't know why GitHub thinks this is related to some kind of completion. In my understanding it's not worth it modularizing feign-ribbon and, by extension, feign. It seems you still have hopes of doing this, though? I'm not using feign anymore, so I don't really care, but I'll leave this issue open if you prefer. |
I would say to modularize what is possible and ignore everything else like soap module. If you can get a PR over the line shortly I can include on the upcoming releases |
* Adds explicit module descriptors to a subset of modules (#1943) Fixes #1357 * Configure CI to run with Java 11 * Configure moditect for all modules, enable only on those that required it * Do not skip moditect when running tests * Only skip modules that don't work with moditect plugin --------- Co-authored-by: Marvin Froeder <velo@users.noreply.github.com> Co-authored-by: Marvin Froeder <velobr@gmail.com>
* Adds explicit module descriptors to a subset of modules (#1943) Fixes #1357 * Configure CI to run with Java 11 * Configure moditect for all modules, enable only on those that required it * Do not skip moditect when running tests * Only skip modules that don't work with moditect plugin --------- Co-authored-by: Marvin Froeder <velo@users.noreply.github.com> Co-authored-by: Marvin Froeder <velobr@gmail.com>
* Adds explicit module descriptors to a subset of modules (#1943) Fixes #1357 * Configure CI to run with Java 11 * Configure moditect for all modules, enable only on those that required it * Do not skip moditect when running tests * Only skip modules that don't work with moditect plugin --------- Co-authored-by: Marvin Froeder <velo@users.noreply.github.com> Co-authored-by: Marvin Froeder <velobr@gmail.com>
OpenFeign 10.10.1 does not seem to include a valid JPMS module descriptor:
Please add this so that OpenFeign can be used in Java 9+ projects that make use of modules.
The text was updated successfully, but these errors were encountered: