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

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

I used Maven 3.6.3 on CentOS 7.
{noformat}
$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/apache-maven-3.6.3
Java version: 1.8.0_232, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.1.3.el7.x86_64", arch: "amd64", family: 
"unix"

$ java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
{noformat}
There was no problem when I built Phoenix 5.0.0-HBase-2.0 against hbase-2.2.3 
and hadoop-3.2.1. I assumed the issue arises if transient dependencies 
processed by maven-shade-plugin have file named NOTICE.

> 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