-
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 support to deprecate jetty-home modules #7111
Comments
@joakime there already exist a "deprecation" mechanism, see https://github.com/eclipse/jetty.project/blob/jetty-11.0.7/jetty-home/src/main/resources/modules/deprecated.properties. However, that seems more a "removed" rather than "deprecated" mechanism (as the warning is printed only if the module is missing), to support complete removal of modules e.g. during upgrade to a newer major Jetty version. It'll be trivial to add a section such as:
In this way, modules that still exist but are deprecated can be listed, a warning printed, etc. I'll give it a go at implementing the |
Signed-off-by: Simone Bordet <[email protected]>
Signed-off-by: Simone Bordet <[email protected]>
Updates after review. Now if a module is deprecated, the list of enabled modules reports it. Signed-off-by: Simone Bordet <[email protected]>
* Issue #7111 - Add support to deprecate jetty-home modules. Signed-off-by: Simone Bordet <[email protected]>
Jetty version(s)
10.x +
Description
We need a feature to allow deprecation of modules.
It should notify on add and use.
It should also allow freeform text to indicate what the suggested action on the deprecation. (such as an alternate module name)
The text was updated successfully, but these errors were encountered: