You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Karl Pauls <ka...@gmail.com> on 2013/02/18 14:04:46 UTC
Re: rat plugin reporting "Too many unapproved licenses"
I don't get that error... what are you doing, just a simple mvn clean
install?
regards,
Karl
On Mon, Feb 18, 2013 at 2:05 PM, Sahoo <sa...@oracle.com> wrote:
> Trying to build latest framework.security module, I get following build
> error:
>
> [INFO]
> [INFO] --- apache-rat-plugin:0.7:check (default) @
> org.apache.felix.framework.**security ---
> [INFO] Exclude: src/main/appended-resources/**
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] Total time: 6.733s
> [INFO] Finished at: Mon Feb 18 09:47:36 IST 2013
> [INFO] Final Memory: 20M/227M
> [INFO] ------------------------------**------------------------------**
> ------------
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-**plugin:0.7:check
> (default) on project org.apache.felix.framework.**security: Too many
> unapproved licenses: 2 -> [Help 1]
>
>
> Any suggestion about how to avoid it?
>
> Thanks,
> Sahoo
>
--
Karl Pauls
karlpauls@gmail.com
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls
Re: rat plugin reporting "Too many unapproved licenses"
Posted by Sahoo <sa...@oracle.com>.
Solved.
mvn verbose output mentioned about target/rat.txt and that file
mentioned about a couple of files as shown below:
2 Unknown Licenses
*******************************
Unapproved licenses:
src/main/java/org/apache/felix/framework/BundleProtectionDomain.java.rej
src/main/java/org/apache/felix/framework/Felix.java.rej
These two files were created by patch command when I had applied a patch
in a wrong module and I had not removed them. After removing these
files, I am able to build.
Thanks,
Sahoo
On Monday 18 February 2013 06:34 PM, Karl Pauls wrote:
> I don't get that error... what are you doing, just a simple mvn clean
> install?
>
> regards,
>
> Karl
>
>
> On Mon, Feb 18, 2013 at 2:05 PM, Sahoo <sanjeeb.sahoo@oracle.com
> <ma...@oracle.com>> wrote:
>
> Trying to build latest framework.security module, I get following
> build error:
>
> [INFO]
> [INFO] --- apache-rat-plugin:0.7:check (default) @
> org.apache.felix.framework.security ---
> [INFO] Exclude: src/main/appended-resources/**
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.733s
> [INFO] Finished at: Mon Feb 18 09:47:36 IST 2013
> [INFO] Final Memory: 20M/227M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.rat:apache-rat-plugin:0.7:check (default) on project
> org.apache.felix.framework.security: Too many unapproved licenses:
> 2 -> [Help 1]
>
>
> Any suggestion about how to avoid it?
>
> Thanks,
> Sahoo
>
>
>
>
> --
> Karl Pauls
> karlpauls@gmail.com <ma...@gmail.com>
> http://twitter.com/karlpauls
> http://www.linkedin.com/in/karlpauls
> https://profiles.google.com/karlpauls