gnodet-bot commented on code in PR #2357:
URL: https://github.com/apache/maven-resolver/pull/2357#discussion_r4725970511
##########
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
Review Comment:
💡 **[LOW]** Add `since` to document the deprecation version — useful for
tooling and to match the existing `@since 2.0.0` Javadoc tag pattern on this
class.
```suggestion
@Deprecated(since = "2.0.27")
```
##########
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
Review Comment:
💡 **[LOW]** Same as `RepositorySystemSupplier` — add `since` for consistency.
```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]