Check target/rat.txt in the sub-project that has the error. You either have some extra fails in your tree or you've added a file with no license header.
-- Andrei Savu On Thu, Jan 5, 2012 at 7:48 PM, Akash Ashok <[email protected]> wrote: > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Too many unapproved licenses: 1 > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: Too many unapproved licenses: 1 > > Any Idea ? > > Cheers, > Akash A > > On Tue, Jan 3, 2012 at 9:47 PM, Akash Ashok <[email protected]> > wrote: > > > Was just looking into it and realized Its only on cygwin. because cygwin > > has wierd path issues. On linux things seem to be smooth. > > > > Cheers, > > Akash A > > > > > > On Tue, Jan 3, 2012 at 8:44 PM, Andrei Savu <[email protected]> > wrote: > > > >> What tests are failing for you? > >> On Jan 3, 2012 5:05 PM, "Akash Ashok" <[email protected]> wrote: > >> > >> > Thanks Andrei. mvn -DskipTests install worked fine. > >> > > >> > Now mvn compile is also going thru fine. Though there are 5 failed > >> tests in > >> > Whirr core. > >> > > >> > The build seems to go thru fine if I skipt the tests. > >> > > >> > Thanks a Lot > >> > > >> > Cheers, > >> > Akash A > >> > > >> > On Tue, Jan 3, 2012 at 7:42 PM, Andrei Savu <[email protected]> > >> wrote: > >> > > >> > > Try to run "mvn clean install" > >> > > On Jan 3, 2012 3:15 PM, "Akash Ashok" <[email protected]> > wrote: > >> > > > >> > > > Yes Andrei, This error is on my local machine itself. > >> > > > Just to be sure I just downloaded the trunk freshly and tried to > >> build > >> > > 'mvn > >> > > > compile' and it again threw the error. > >> > > > > >> > > > Here is the complete Stack trace: > >> > > > > >> > > > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > >> > > > whirr-core --- > >> > > > [INFO] Compiling 53 source files to > >> > > > C:\cygwin\home\aashok\whirr\core\target\classes > >> > > > [INFO] > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > [INFO] Building Apache Whirr Cassandra 0.8.0-SNAPSHOT > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > Downloading: > >> > > > > >> > > > > >> > > > >> > > >> > https://repository.cloudera.com/content/repositories/releases/org/apache/whirr/whirr-core/0.8.0-SNAPSHOT/whirr-core-0.8.0-SNAPSHOT-tests.jar > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > [INFO] Reactor Summary: > >> > > > [INFO] > >> > > > [INFO] Apache Whirr Build Tools .......................... SUCCESS > >> > > [0.572s] > >> > > > [INFO] Whirr ............................................. SUCCESS > >> > > [0.914s] > >> > > > [INFO] Apache Whirr Core ................................. SUCCESS > >> > > [4.956s] > >> > > > [INFO] Apache Whirr Cassandra ............................ FAILURE > >> > > [2.297s] > >> > > > [INFO] Apache Whirr Hadoop ............................... SKIPPED > >> > > > [INFO] Apache Whirr ZooKeeper ............................ SKIPPED > >> > > > [INFO] Apache Whirr HBase ................................ SKIPPED > >> > > > [INFO] Apache Whirr CDH .................................. SKIPPED > >> > > > [INFO] Apache Whirr Ganglia .............................. SKIPPED > >> > > > [INFO] Apache Whirr Mahout ............................... SKIPPED > >> > > > [INFO] Apache Whirr ElasticSearch ........................ SKIPPED > >> > > > [INFO] Apache Whirr Hama ................................. SKIPPED > >> > > > [INFO] Apache Whirr Puppet ............................... SKIPPED > >> > > > [INFO] Apache Whirr Chef ................................. SKIPPED > >> > > > [INFO] Apache Whirr CLI .................................. SKIPPED > >> > > > [INFO] Apache Whirr Examples ............................. SKIPPED > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > [INFO] BUILD FAILURE > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > [INFO] Total time: 9.339s > >> > > > [INFO] Finished at: Tue Jan 03 18:44:32 IST 2012 > >> > > > [INFO] Final Memory: 24M/249M > >> > > > [INFO] > >> > > > > >> > > ------------------------------------------------------------------------ > >> > > > [ERROR] Failed to execute goal on project whirr-cassandra: Could > not > >> > > > resolve dependencies for project > >> > > > org.apache.whirr:whirr-cassandra:jar:0.8.0-SNAPSHOT: Could not > >> transfer > >> > > > artifact org.apache.whirr:whirr-core:jar:tests:0.8.0-SNAPSHOT > >> from/to > >> > > > cloudera ( > >> > https://repository.cloudera.com/content/repositories/releases/ > >> > > ): > >> > > > Error transferring file: Server returned HTTP response code: 409 > for > >> > URL: > >> > > > > >> > > > > >> > > > >> > > >> > https://repository.cloudera.com/content/repositories/releases/org/apache/whirr/whirr-core/0.8.0-SNAPSHOT/whirr-core-0.8.0-SNAPSHOT-tests.jar- > >> > > > > > >> > > > [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/DependencyResolutionException > >> > > > [ERROR] > >> > > > [ERROR] After correcting the problems, you can resume the build > with > >> > the > >> > > > command > >> > > > [ERROR] mvn <goals> -rf :whirr-cassandra > >> > > > > >> > > > Cheers, > >> > > > Akash A > >> > > > > >> > > > > >> > > > On Tue, Jan 3, 2012 at 6:32 PM, Andrei Savu < > [email protected]> > >> > > wrote: > >> > > > > >> > > > > 0.8.0-SNAPSHOT is the trunk version. It should not try to fetch > >> that > >> > > from > >> > > > > external repositories. Are you seeing the same failure on your > >> local > >> > > > > machine? > >> > > > > On Jan 3, 2012 2:25 PM, "Akash Ashok" <[email protected]> > >> > wrote: > >> > > > > > >> > > > > > The artifacts under path > >> > > > > > org/apache/whirr/whirr-core/0.8.0-SNAPSHOT/< > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > https://repository.cloudera.com/content/repositories/releases/org/apache/whirr/whirr-core/0.8.0-SNAPSHOT/whirr-core-0.8.0-SNAPSHOT-tests.jar > >> > > > > > >don't > >> > > > > > seem to be present in any of the repositories. Are there extra > >> > > > > > repositories which I might have to add to pom,xml ? > >> > > > > > > >> > > > > > Cheers, > >> > > > > > Akash A > >> > > > > > > >> > > > > > On Mon, Jan 2, 2012 at 9:57 PM, Akash Ashok < > >> > [email protected]> > >> > > > > > wrote: > >> > > > > > > >> > > > > > > Hi, > >> > > > > > > Builds on trunk are failing for the following reason. > >> > > > > > > [ERROR] Failed to execute goal on project whirr-cassandra: > >> Could > >> > > not > >> > > > > > > resolve dependencies for project > >> > > > > > > org.apache.whirr:whirr-cassandra:jar:0.8.0-SNAPSHOT: Could > not > >> > > > transfer > >> > > > > > > artifact > org.apache.whirr:whirr-core:jar:tests:0.8.0-SNAPSHOT > >> > > from/to > >> > > > > > > cloudera ( > >> > > > > https://repository.cloudera.com/content/repositories/releases/ > >> > > > > > ): > >> > > > > > > Error transferring file: Server returned HTTP response code: > >> 409 > >> > > for > >> > > > > URL: > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > https://repository.cloudera.com/content/repositories/releases/org/apache/whirr/whirr-core/0.8.0-SNAPSHOT/whirr-core-0.8.0-SNAPSHOT-tests.jar- > >> > > > > > > >> > > > > > [Help 1] > >> > > > > > > > >> > > > > > > The repo URL doesn't exist. Is this a known issue ? > >> > > > > > > > >> > > > > > > Cheers, > >> > > > > > > Akash A > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > > > > >
