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

Lars Hofhansl commented on HBASE-16318:
---------------------------------------

Seems I can no longer build 0.98 with Hadoop 2.7.2 now:
{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}

These are the last rows from the generated LICENSE filed:
{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>
{code}

Not entirely sure what the problem is. Looks like it might have to do with the 
addendum?
[~busbey], [~apurtell]

> fail build if license isn't in whitelist
> ----------------------------------------
>
>                 Key: HBASE-16318
>                 URL: https://issues.apache.org/jira/browse/HBASE-16318
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build, dependencies
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.1.6, 1.2.3, 0.98.22
>
>         Attachments: HBASE-16318.0.patch, HBASE-16318.1.patch, 
> HBASE-16318.2.patch, HBASE-16318.3.patch, HBASE-16318.v3addendum.0.98.patch
>
>
> we use supplemental-models.xml to make sure we have consistent names and 
> descriptions for licenses. we also know what licenses we expect to see in our 
> build. If we see a different one
> # fail the velocity template process
> # if possible, include some information about why this happened



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

Reply via email to