elharo commented on code in PR #424:
URL: https://github.com/apache/maven-help-plugin/pull/424#discussion_r3813000551


##########
src/main/java/org/apache/maven/plugins/help/AbstractHelpMojo.java:
##########
@@ -48,6 +47,14 @@
  * @since 2.1
  */
 public abstract class AbstractHelpMojo extends AbstractMojo {
+
+    /**
+     * The metaversion Aether resolves to the newest available version, used 
when the caller gives
+     * coordinates without one. Spelled out here rather than read from
+     * {@code org.apache.maven.artifact.Artifact#LATEST_VERSION}, which Maven 
4 deprecates.
+     */
+    private static final String LATEST_VERSION = "LATEST";

Review Comment:
   Just inline this. One use string constants aren't helpful.



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