elharo commented on code in PR #11690:
URL: https://github.com/apache/maven/pull/11690#discussion_r2751300873
##########
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java:
##########
@@ -32,13 +32,22 @@
import org.apache.maven.artifact.versioning.VersionRange;
/**
- * Maven Artifact interface. Notice that it mixes artifact definition concepts
(groupId, artifactId, version)
+ * Maven Artifact interface. Notice that it mixes artifact definition concepts
+ * (groupId, artifactId, version)
* with dependency information (version range, scope).
*/
public interface Artifact extends Comparable<Artifact> {
+ /**
+ * @deprecated since 4.0.0.
Review Comment:
put this comment on one line.
Do we need the since text here too oir does it duplciate what's in the
annotation parameter?
##########
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java:
##########
@@ -32,13 +32,22 @@
import org.apache.maven.artifact.versioning.VersionRange;
/**
- * Maven Artifact interface. Notice that it mixes artifact definition concepts
(groupId, artifactId, version)
+ * Maven Artifact interface. Notice that it mixes artifact definition concepts
+ * (groupId, artifactId, version)
* with dependency information (version range, scope).
*/
public interface Artifact extends Comparable<Artifact> {
+ /**
+ * @deprecated since 4.0.0.
+ * Use an explicit version instead.
+ */
@Deprecated(since = "4.0.0")
String RELEASE_VERSION = "RELEASE";
+ /**
+ * @deprecated since 4.0.0.
Review Comment:
put this comment on one line.
Do we need the since text here too oir does it duplciate what's in the
annotation parameter?
--
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]