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

Masatake Iwasaki commented on PHOENIX-5711:
-------------------------------------------

While master branch built against hadoop-3 does not have this issue, the fix 
could be applied since the file name of NOTICE is the same.

> Fix duplicate NOTICE error on phoenix-client shading
> ----------------------------------------------------
>
>                 Key: PHOENIX-5711
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5711
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.15.0
>            Reporter: Masatake Iwasaki
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I got the following error on building 4.15.0-HBase-1.5 against hadoop-2.10.0 
> (for BIGTOP-3298). The cause seems to be the pattern for exclusion in pom.xml 
> does not match the file name NOTICE (without suffix).
> {noformat}
> $ mvn clean install -DskipTests -Dhbase.version=1.5.0 -Dhadoop.version=2.10.0 
> -Dhadoop-two.version=2.10.0
> ...snip
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default-shaded) on 
> project phoenix-client: Error creating shaded jar: duplicate entry: NOTICE -> 
> [Help 1]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to