hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16712) fix hadoop-3.0 profile mvn install
Date Thu, 29 Sep 2016 15:55:20 GMT

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

Jonathan Hsieh commented on HBASE-16712:
----------------------------------------

On the new xerces dep -- here's my evidence from the build:

{code}
--
This product includes Xerces2 Java Parser licensed under the The Apache Software License,
Version 2.0.

${dep.licenses[0].comments}
Please check ^^^^^^^^^^^^ this License for acceptability here:

https://www.apache.org/legal/resolved

If it is okay, then update the list named 'non_aggregate_fine' in the LICENSE.vm file.
If it isn't okay, then revert the change that added the dependency.

More info on the dependency:

<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</version>

maven central search
g:xerces AND a:xercesImpl AND v:2.9.1

project website
http://xerces.apache.org/xerces2-j
project source
http://svn.apache.org/viewvc/maven/pom/tags/apache-4/xercesImpl
{code}

Let me do a 'mvn clean install -DskipTests' with the different profiles, and then I'll attach
the deps for h2 and h3. I recently learned that 'mvn install' is required for dependency:tree
to give the right information.

The Go license is brought in by  re2j
{code}
[INFO] +- org.apache.hadoop:hadoop-common:jar:3.0.0-SNAPSHOT:compile
[INFO] |  +- org.apache.hadoop:hadoop-annotations:jar:3.0.0-SNAPSHOT:compile
..
[INFO] |  +- com.google.re2j:re2j:jar:1.0:compile
{code}

For the go license can you be more specific about what you suggest we do?

Some of the failures wiht ${dep.licenses.isEmpty()} actually fail until the next line which
you didn't include which does a ${dep.license[0]...) and gets a very cryptic array out of
bounds error.  I actually got the new list by repeated going through looking at this output,
"fixing it", and then trying again until all were addressed.  I'll leave more explicit comments
in the next rev.

We should have that (for LICENSE.vm and NOTICE.vm) error message googlable in our docs so
that others who run into it don't have to struggle to figure this out as much.


> fix hadoop-3.0 profile mvn install
> ----------------------------------
>
>                 Key: HBASE-16712
>                 URL: https://issues.apache.org/jira/browse/HBASE-16712
>             Project: HBase
>          Issue Type: Bug
>          Components: build, hadoop3
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>             Fix For: 2.0.0
>
>         Attachments: hbase-16712.v0.patch, hbase-16712.v1.patch
>
>
> After the compile is fixed, mvn install fails due to transitive dependencies coming from
hadoop3. 



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

Mime
View raw message