gnodet-bot commented on code in PR #2357:
URL: https://github.com/apache/maven-resolver/pull/2357#discussion_r4730433566
##########
maven-resolver-supplier-mvn4/src/main/java/org/eclipse/aether/supplier/SessionBuilderSupplier.java:
##########
@@ -66,7 +66,10 @@
* Extend this class and override methods to customize, if needed.
*
* @since 2.0.0
+ * @deprecated Use the Maven 4 standalone API in the {@code
org.apache.maven.impl.standalone} package of the
+ * {@code org.apache.maven:maven-impl} module instead.
*/
+@Deprecated(since = "2.0.27")
Review Comment:
💡 **Nit:** Same fix needed here.
```suggestion
@Deprecated(since = "2.0.27")
```
##########
maven-resolver-supplier-mvn4/src/main/java/org/eclipse/aether/supplier/RepositorySystemSupplier.java:
##########
@@ -180,7 +180,10 @@
* warnings are suppressed for the whole class.
*
* @since 2.0.0
+ * @deprecated Use the Maven 4 standalone API in the {@code
org.apache.maven.impl.standalone} package of the
+ * {@code org.apache.maven:maven-impl} module instead.
*/
+@Deprecated(since = "2.0.27")
Review Comment:
💡 **Nit:** Missing `since` element — makes the deprecation version
programmatically queryable.
```suggestion
@Deprecated(since = "2.0.27")
```
--
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]