Re: Error building Shindig
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
Re: Error building Shindig
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
Re: Error building Shindig
OK, removing the directory seems to have worked (+1 on adding an exclude. I'm a maven newbie, can someone tell me where this is done?) I now seem to be able to build Shindig (I say seem to because the output is very verbose, and I may be missing something). But trying to run the jetty target breaks. Initially the problem was a missing plugin setting. I added a pluginGroup for jetty to my ~/.m2/settings.xml file and it can now find jetty. however, when I run mvn jetty:run -Djetty.port=8088 I get an error: Webapp source directory [ path to shindig ]/src/main/webapp does not exist This seems to be a configuration issue, but I would think such configuration needs to be local to the shindig project. Am I wrong? On Mon, Oct 20, 2008 at 12:51 PM, Louis Ryan [EMAIL PROTECTED] wrote: 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
Re: Error building Shindig
Lev, did you try mvn clean install mvn -Prun from the base directory. It looks like the artifacts are not being installed in the local repository (~/.m2/repository) which is causing things not to be found. have a look in BUILD-JAVA which details what to do. Ian On 20 Oct 2008, at 21:45, Lev Epshteyn wrote: OK, removing the directory seems to have worked (+1 on adding an exclude. I'm a maven newbie, can someone tell me where this is done?) I now seem to be able to build Shindig (I say seem to because the output is very verbose, and I may be missing something). But trying to run the jetty target breaks. Initially the problem was a missing plugin setting. I added a pluginGroup for jetty to my ~/.m2/settings.xml file and it can now find jetty. however, when I run mvn jetty:run -Djetty.port=8088 I get an error: Webapp source directory [ path to shindig ]/src/main/webapp does not exist This seems to be a configuration issue, but I would think such configuration needs to be local to the shindig project. Am I wrong? On Mon, Oct 20, 2008 at 12:51 PM, Louis Ryan [EMAIL PROTECTED] wrote: 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.executeGoalWithL ifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa ndleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme nts(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
Re: Error building Shindig
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.executeGoalWithLif ecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand leFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment s(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)