You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/08/29 05:48:00 UTC
[jira] [Commented] (MNG-8213) Expose most important phases as constants
[ https://issues.apache.org/jira/browse/MNG-8213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877591#comment-17877591 ]
Guillaume Nodet commented on MNG-8213:
--------------------------------------
This should be solved with MNG-8052
> Expose most important phases as constants
> -----------------------------------------
>
> Key: MNG-8213
> URL: https://issues.apache.org/jira/browse/MNG-8213
> Project: Maven
> Issue Type: Improvement
> Components: API
> Affects Versions: 4.0.0-beta-3
> Reporter: Konrad Windszus
> Priority: Major
>
> As the {{Mojo annotation}} used by Maven 4 does no longer use an enum for the phase but a simple string (https://github.com/apache/maven/blob/e417e45e910bdd220479322ea78206c1542ebb00/api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java#L70), it would be helpful to expose the most important phase names as constants.
> I haven't found anything suitable in https://maven.apache.org/ref/4-LATEST/apidocs/constant-values.html.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)