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

Masatake Iwasaki commented on HTRACE-110:
-----------------------------------------

bq. But only when you run "mvn package" twice in a row?

Always. The first build in fresh source tree succeeds without 
{{<exclude>**/dependency-reduced-pom.xml</exclude>}} because there is no 
dependency-reduced-pom.xml. Once dependency-reduced-pom.xml is generated, it is 
not deleted even if you run {{mvn clean}} then next Rat check fails.

The problem is {{<excludes>}} in htrace-hbase/pom.xml overwrites {{<excludes>}} 
in (top level) pom.xml which contains 
{{<exclude>**/dependency-reduced-pom.xml</exclude>}}.

> Fix rat check failure due to dependency-reduced-pom.xml in htrace-hbase
> -----------------------------------------------------------------------
>
>                 Key: HTRACE-110
>                 URL: https://issues.apache.org/jira/browse/HTRACE-110
>             Project: HTrace
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HTRACE-110.001.patch
>
>
> Rat check fails if you run "mvn package" multiple times due to the 
> dependency-reduced-pom.xml generated by maven-shade-plugin on the first 
> build. Though top level pom.xml has configuration for excluding 
> dependency-reduced-pom.xml on check, htrace-hbase/pom.xml overwrites the 
> configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to