[
https://issues.apache.org/jira/browse/PHOENIX-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034941#comment-17034941
]
Daniel Wong commented on PHOENIX-5711:
--------------------------------------
Thanks for the patch. I think I saw this before internally and our issue was
the version of the maven plugin. What did you test this against?
> 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)