Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

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?

* Use {@link #RESOURCES} instead.
*/
@Deprecated
@Deprecated(since = "4.0.0-alpha", forRemoval = false)
Copy link
Contributor

Choose a reason for hiding this comment

The 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

Copy link
Contributor Author

@anukalp2804 anukalp2804 Jan 14, 2026

Choose a reason for hiding this comment

The 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.

Copy link
Contributor

Choose a reason for hiding this comment

The 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)
Expand Down