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

Mike Drob commented on HBASE-18472:
-----------------------------------

HBASE-16351 made the error reporting friendlier, it shouldn't have exposed any 
new errors.

Can you reproduce this with a clean workspace and m2 repository?

Guava 11.0.2 inherits it's license from guava-parent 
https://repo1.maven.org/maven2/com/google/guava/guava-parent/11.0.2/guava-parent-11.0.2.pom
 which has 

{code}
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
{code}

and that looks 100% correct.

Can you post more snippet from the ERROR message you see inside of the 
generated LICENSE file?

> Add guava license and update supplemental-models.xml
> ----------------------------------------------------
>
>                 Key: HBASE-18472
>                 URL: https://issues.apache.org/jira/browse/HBASE-18472
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.0.0-alpha-1
>            Reporter: Yi Liang
>            Assignee: Yi Liang
>            Priority: Blocker
>             Fix For: 2.0.0, 3.0.0
>
>         Attachments: HBASE-18472-master-v1.patch
>
>
> When I run mvn clean install -DskipTests on my local machine, lt always shows 
> error below 
> {quote}
> WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell failed 
> with message:
> License errors detected, for more detail find ERROR in 
> hbase-assembly/target/maven-shared-archive-resources/META-INF/LICENSE
> Failed to execute goal 
> org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce 
> (check-aggregate-license) on project hbase-assembly: Some Enforcer rules have 
> failed. Look above for specific messages explaining why the rule failed.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to