anukalp2804 commented on code in PR #11599:
URL: https://github.com/apache/maven/pull/11599#discussion_r2649103715
##########
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java:
##########
@@ -402,9 +402,16 @@ private void persistResumptionData(MavenExecutionResult
result, MavenSession ses
}
/**
- * Nobody should ever use this method.
- *
- * @deprecated If you use this method and your code is not in Maven Core,
stop doing this.
+ * @deprecated since 3.x
Review Comment:
Thank you for the review @desruisseaux .
I tried tracing the history of `newRepositorySession` through the Maven
module reorganization, but could not clearly identify the original
version where this method was first deprecated.
Could you please confirm which Maven version should be used for the
@Deprecated(since = "...") attribute? Once I have the correct version,
I will update the annotation and clean up the redundant Javadoc tag
accordingly.
--
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]