[
https://issues.apache.org/jira/browse/PHOENIX-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034981#comment-17034981
]
Daniel Wong commented on PHOENIX-5711:
--------------------------------------
I think there may have been differences in how it handles regex between
versions I can't recall for sure. I think the better way going forward is to
use the tool the made for handling combining required notices and handling the
overlap in a "designed" fashion for possible legal requirements
[https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ApacheNoticeResourceTransformer
|https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ApacheNoticeResourceTransformer]
> 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)