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

Sean Busbey commented on HBASE-17893:
-------------------------------------

for some reason maven is trying to generate the NOTICE file before the LICENSE 
file.

{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:36.261s
[INFO] Finished at: Mon Apr 10 15:02:34 PDT 2017
[INFO] Final Memory: 229M/1485M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on 
project hbase-assembly: Error rendering velocity resource. Error invoking 
method 'get(java.lang.Integer)' in java.util.ArrayList at 
META-INF/NOTICE.vm[line 275, column 22]: InvocationTargetException: Index: 0, 
Size: 0 -> [Help 1]
[ERROR] 
{code}

{code}
busbey@busbey-build:~/projects/hbase/hbase$ ls -lah 
hbase-assembly/target/maven-shared-archive-resources/META-INF/
total 20K
drwxr-xr-x 2 busbey busbey 4.0K Apr 10 15:02 .
drwxr-xr-x 3 busbey busbey 4.0K Apr 10 15:02 ..
-rw-r--r-- 1 busbey busbey 8.6K Apr 10 15:02 NOTICE
{code}

and all the "debug info on failure" stuff is built into our LICENSE generation 
and not our NOTICE generation. So the only option is passing 
{{-Dlicense.debug.print.included}}. Finding that out requires backtracking up 
the NOTICE.vm file from line 275 referenced in the error until you get to  a 
comment blurb.

lemme figure out what's currently missing (something doesn't have any 
associated license metadata in the pom) and we can beef up the error reporting 
for NOTICE so long as we're here.

> Allow HBase to build against Hadoop 2.8.0
> -----------------------------------------
>
>                 Key: HBASE-17893
>                 URL: https://issues.apache.org/jira/browse/HBASE-17893
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.2.5
>            Reporter: Lars Hofhansl
>         Attachments: 17883-1.2-BROKEN.txt
>
>
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) 
> on project hbase-assembly: Error rendering velocity resource. Error invoking 
> method 'get(java.lang.Integer)' in java.util.ArrayList at 
> META-INF/LICENSE.vm[line 1671, column 8]: InvocationTargetException: Index: 
> 0, Size: 0 -> [Help 1]
> {code}
> The in the generated LICENSE.
> {code}
> This product includes Nimbus JOSE+JWT 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>com.nimbusds</groupId>
> <artifactId>nimbus-jose-jwt</artifactId>
> <version>3.9</version>
> maven central search
> g:com.nimbusds AND a:nimbus-jose-jwt AND v:3.9
> project website
> https://bitbucket.org/connect2id/nimbus-jose-jwt
> project source
> https://bitbucket.org/connect2id/nimbus-jose-jwt
> {code}
> Maybe the problem is just that it says: Apache _Software_ License



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to