I think we should add an exclude for this directory to the rat config.

On Mon, Oct 20, 2008 at 9:21 AM, Kevin Jin <[EMAIL PROTECTED]> wrote:

> I've seen this too. It turned out the jsunit directory (in
> opensocial-templates) created outside Maven cuased the problem.
> My solution was making jsunit dir a sym-link. Create it before testing
> and delete it before building with some scripts.
>
> On Fri, Oct 17, 2008 at 1:41 AM, Ian Boston <[EMAIL PROTECTED]> wrote:
> > That failure looks like its due to the rat plugin that does an audit on
> AL2
> > license headers in the source code, however it looks like there might be
> > either something wrong in the internal config of the version of the rat
> > plugin you have downloaded (automatically) or in the shindig master pom.
> Is
> > a bit hard to get < 0 for something real.
> >
> > Try
> > ls ~/.m2/repository/org/codehaus/mojo/rat-maven-plugin/
> > send the out put and then
> > rm -rf  ~/.m2/repository/org/codehaus/mojo/rat-maven-plugin/
> >
> > and try and build again.
> > (I assume you are on a unix box)
> >
> > Ian
> >
> > On 16 Oct 2008, at 16:46, Lev Epshteyn wrote:
> >
> >> Guys, I'm currently getting the following error when I try to build
> >> Shindig
> >> via Maven (I have updated to the latest revisions from the trunk):
> >>
> >> Too many unapproved licenses: 0
> >>
> >> I'm not sure if it's telling me that zero is an unacceptably high number
> >> of
> >> unapproved licenses. That doesn't make much sense, but I don't know how
> >> else
> >> to read that message. In any case, this is the stack trace:
> >>
> >> org.apache.maven.BuildFailureException: Too many unapproved licenses: 0
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> >>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at
> >>
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >>
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>        at java.lang.reflect.Method.invoke(Method.java:597)
> >>        at
> >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>        at
> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> Caused by: org.codehaus.mojo.rat.RatCheckException: Too many unapproved
> >> licenses: 0
> >>        at
> org.codehaus.mojo.rat.RatCheckMojo.check(RatCheckMojo.java:224)
> >>        at
> org.codehaus.mojo.rat.RatCheckMojo.check(RatCheckMojo.java:216)
> >>        at
> >> org.codehaus.mojo.rat.RatCheckMojo.execute(RatCheckMojo.java:172)
> >>        at
> >>
> >>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> >>        at
> >>
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> >
> >
>
>
>
> --
> -Kevin
>

Reply via email to