[ 
https://issues.apache.org/jira/browse/MPLUGIN-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631031#comment-17631031
 ] 

Konrad Windszus commented on MPLUGIN-439:
-----------------------------------------

Fixed for Maven 4 API in 
https://github.com/apache/maven/commit/4d3a82f59614ae5595b897ff06e18bba4466487f.

> Execute annotation only supports standard lifecycle phases due to use of enum
> -----------------------------------------------------------------------------
>
>                 Key: MPLUGIN-439
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-439
>             Project: Maven Plugin Tools
>          Issue Type: Improvement
>          Components: maven-plugin-annotations
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: next-release
>
>
> The {{Execute}} annotation defined at 
> https://github.com/apache/maven-plugin-tools/blob/6dfbd4b6e2674b81702d3417e57b471afad40535/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/Execute.java#L45
>  only supports one of the predefined phases from 
> https://github.com/apache/maven-plugin-tools/blob/master/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/LifecyclePhase.java.
> That can't be used for custom lifecycle ids, though.
> There should be another element on that annotation which should allow to use 
> custom ids (as regular String values).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to