anukalp2804 commented on code in PR #11579:
URL: https://github.com/apache/maven/pull/11579#discussion_r2690740761


##########
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 Maven 4.0.0-alpha.
+     *             Use {@link #RESOURCES} instead.
      */
-    @Deprecated
+    @Deprecated(since = "4.0.0-alpha", forRemoval = false)

Review Comment:
   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.



##########
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 Maven 4.0.0-alpha.
+     *             Use {@link #RESOURCES} instead.
      */
-    @Deprecated
+    @Deprecated(since = "4.0.0-alpha", forRemoval = false)

Review Comment:
   @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.



-- 
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]

Reply via email to