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

Chris Nauroth commented on HADOOP-9249:
---------------------------------------

Sorry, I had missed HADOOP-9235.  Thank you for pointing it out.

I think the patch shown here on HADOOP-9249 is preferable, because the <skip> 
declaration skips all Clover processing for the sub-module.  If we ever change 
the internal code structure of hadoop-maven-plugins (i.e. add code outside of 
org/apache/hadoop/maven/plugin), then we won't need to remember to update the 
<exclude> filter in the top-level pom.xml.  Also, if we ever decide we'd rather 
deploy hadoop-maven-plugins as a separate project instead of a sub-module of 
hadoop-common, then we won't need to remember to clean up the top-level pom.xml.

Ivan, what do you think?

                
> hadoop-maven-plugins version-info goal causes build failure when running with 
> Clover
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9249
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9249
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-9249.1.patch
>
>
> Running Maven with the -Pclover option for code coverage causes the build to 
> fail because of not finding a Clover class while running hadoop-maven-plugins 
> version-info.

--
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