hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14199) maven-remote-resources-plugin failure processing NOTICE.vm in hbase-assembly
Date Fri, 07 Aug 2015 23:35:45 GMT

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

Andrew Purtell commented on HBASE-14199:
----------------------------------------

In NOTICE.vm, the problem is here:
{noformat}
#if(${dep.artifactId.equals("jruby-complete")})
#set($jruby=true)
#end
----> #if( !(${dep.licenses[0].name.contains("BSD")} || ${dep.licenses[0].name.contains("MIT")})
)
#if( !(${dep.licenses[0].name.equals("Public Domain")}) )
#if( !(${dep.licenses[0].name.contains("Apache Software License, Version 2.0")}) )
#set($aggregated = false)
#if(${dep.licenses[0].name.contains("CDDL")})
#if(${dep.licenses[0].name.contains("1.0")})
#set($aggregated = $cddl_1_0.add($dep))
#elseif(${dep.licenses[0].name.contains("1.1")})
#set($aggregated = $cddl_1_1.add($dep))
#end
#end
#if(${dep.licenses[0].name.equalsIgnoreCase("Common Public License Version 1.0")})
#set($aggregated = $cpl_1_0.add($dep))
#end
#if(${dep.licenses[0].name.equalsIgnoreCase("Mozilla Public License Version 1.1")})
#set($aggregated = $mpl_1_1.add($dep))
#end
{noformat}

Let me see about hacking something to get over this hump.

> maven-remote-resources-plugin failure processing NOTICE.vm in hbase-assembly
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-14199
>                 URL: https://issues.apache.org/jira/browse/HBASE-14199
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.14
>            Reporter: Andrew Purtell
>            Priority: Blocker
>             Fix For: 0.98.14
>
>
> Only seen when building 0.98 with -Dhadoop.profile=1.1. Happens with both JDK 6 and 7.

> {noformat}
> [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]
> {noformat}



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

Mime
View raw message