anukalp2804 commented on code in PR #11579:
URL: https://github.com/apache/maven/pull/11579#discussion_r2736821829
##########
api/maven-api-core/src/main/java/org/apache/maven/api/Language.java:
##########
@@ -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 4.0.0.
Review Comment:
The intent was to document `RESOURCES` as the replacement because `SCRIPT`
was historically used for non-Java content in Maven 3, and in Maven 4 such
content is handled under the resources language model.
If that assumption is incorrect, I’m happy to update the documentation to
point to the correct replacement (or remove the replacement reference entirely
if there is no direct equivalent).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]