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

Chris Nauroth commented on HADOOP-9246:
---------------------------------------

What about the annotation of the default phase in {{VersionInfoMojo}}?  Should 
we change that too?

{code}
@Mojo(name="version-info", defaultPhase=LifecyclePhase.INITIALIZE)
public class VersionInfoMojo extends AbstractMojo {
{code}

I think we still need to be explicit about the <phase> in the pom.xml files to 
prevent the HADOOP-9245 problem, but I'm wondering if we should update the 
annotation for consistency, or possibly just remove defaultPhase and require 
users to be specific.

                
> Execution phase for hadoop-maven-plugin should be process-resources
> -------------------------------------------------------------------
>
>                 Key: HADOOP-9246
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9246
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0, trunk-win
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: hadoop-9246.patch, hadoop-9246.patch
>
>
> Per discussion on HADOOP-9245, the execution phase of hadoop-maven-plugin 
> should be _process-resources_ and not _compile_.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to