-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Document deprecation of Language.SCRIPT #11579
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,11 +51,14 @@ public interface Language extends ExtensibleEnum { | |
| Language RESOURCES = language("resources"); | ||
|
|
||
| /** | ||
| * The "script" language. Provided for compatibility with Maven 3. | ||
| * The {@code "script"} language. | ||
| * <p> | ||
| * This constant is retained for backward compatibility with Maven 3. | ||
| * | ||
| * @deprecated Use {@link #RESOURCES} instead. | ||
| * @deprecated Since Maven 4.0.0-alpha. | ||
| * Use {@link #RESOURCES} instead. | ||
| */ | ||
| @Deprecated | ||
| @Deprecated(since = "4.0.0-alpha", forRemoval = false) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know that we want to specify alpha versions in since paramters. 4.0.0 is enough
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @elharo Updated as suggested. I’ve removed the alpha reference and used @deprecated(since = "4.0.0") without duplicating version information in the Javadoc. Please let me know if anything else needs adjustment.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It still says alpha,. 4.0.0 is better |
||
| Language SCRIPT = language("script"); | ||
|
|
||
| // TODO: this should be moved out from here to Java Support (builtin into core) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need Since Maven 4.0.0-alpha. here?