Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-beta-3
-
None
Description
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.
Attachments
Issue Links
- relates to
-
MNG-8052 Define a new lifecycle for Maven 4
- Closed