Konrad Windszus created MNG-8213:
------------------------------------
Summary: 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
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)