You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Israel Ekpo (JIRA)" <ji...@apache.org> on 2013/03/23 04:37:16 UTC

[jira] [Comment Edited] (FLUME-1202) Too many approved licenses

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

Israel Ekpo edited comment on FLUME-1202 at 3/23/13 3:35 AM:
-------------------------------------------------------------

Adding this to your MAVEN_OPTS environment variable will help too on Mac OS X and Linux

{code}
export MAVEN_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m -Drat.numUnapprovedLicenses=128"
{code}

It increases the maxiumum number of licenses allowed and also increases the memory for the virtual machine at the same time.
                
      was (Author: iekpo):
    Adding this to your MAVEN_OPTS environment variable will help too on Mac OS X and Linux

{code}
export MAVEN_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m -Drat.numUnapprovedLicenses=128"
{code}
                  
> Too many approved licenses
> --------------------------
>
>                 Key: FLUME-1202
>                 URL: https://issues.apache.org/jira/browse/FLUME-1202
>             Project: Flume
>          Issue Type: Bug
>          Components: Build
>         Environment: jdk7, ubuntu
>            Reporter: Rajesh Koilpillai
>            Priority: Trivial
>              Labels: build-failure
>             Fix For: v1.2.0
>
>         Attachments: patch.txt, patch.txt, rat.txt
>
>
> mvn package 
> fails with the following error
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.891s
> [INFO] Finished at: Mon May 14 11:18:36 IST 2012
> [INFO] Final Memory: 16M/148M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (test.rat) on project flume-parent: Too many unapproved licenses: 1 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira