Hi Eric, Looks like the following class was compiled with JDK 1.7 and hence the error, (when i tried compiling with JDK 1.6)
java.lang.reflect.InvocationTargetException: null: JVMCFRE003 bad major version; class=org/apache/solr/SolrJettyTestBase, offset=6 Should we document the minimum requirements for maven and JDK in the readme.txt file? On Sun, Aug 17, 2014 at 3:38 PM, Eric Yang <[email protected]> wrote: > I am using Maven 3.2.2 and Oracle JDK 1.7.0_25 on OSX. The oldest version > of maven should be 3.0.5 or newer. There was some breakage around 3.0.4 > and need to clean maven cache to avoid Surefire 2.10 bugs. > > regards, > Eric > > > On Sat, Aug 16, 2014 at 11:21 PM, Sreepathi <[email protected]> > wrote: > > > Ariel, > > > > I have Maven 3.0.3 and it works fine. > > > > > > On Sat, Aug 16, 2014 at 11:20 PM, Sreepathi < > [email protected]> > > wrote: > > > > > Readme needs to be updated to have chukwa 0.6 version. > > > > > > When I tried to run "mvn clean package", it fails with following error, > > > > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) > > on > > > project chukwa: Execution default-test of goal > > > org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: > > > java.lang.reflect.InvocationTargetException; nested exception is > > > java.lang.reflect.InvocationTargetException: null: JVMCFRE003 bad major > > > version; class=org/apache/solr/SolrJettyTestBase, offset=6 > > > > > > This is with IBM JDK 6. Is it necessary, we should switch to Oracle > JDK ? > > > > > > > > > > > > > > > > > > On Sat, Aug 16, 2014 at 10:53 PM, Ariel Rabkin <[email protected]> > > wrote: > > > > > >> Bah, hit sent before I meant to. > > >> > > >> Was going to say: > > >> > > >> Readme should reference 'mvn', not ant. > > >> And it bothers me a bit that the tests don't run for me. Is this just > > >> me having a weird maven? Which versions work? > > >> > > >> > > >> > > >> > > >> > > >> On Sun, Aug 17, 2014 at 1:52 AM, Ariel Rabkin <[email protected]> > > wrote: > > >> > The readme says: > > >> > > > >> > "To check that things are ok, run 'ant test'. It should take roughly > > >> > fifteen minutes." > > >> > > > >> > > > >> > When I say > > >> > "mvn test", I get this error: > > >> > > > >> > [ERROR] Failed to execute goal > > >> > org.apache.maven.plugins:maven-surefire-plugin:2.10:test > > >> > (default-test) on project chukwa: Execution default-test of goal > > >> > org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: > > >> > java.lang.reflect.InvocationTargetException; nested exception is > > >> > java.lang.reflect.InvocationTargetException: null: > > >> > org/apache/solr/SolrJettyTestBase : Unsupported major.minor version > > >> > 51.0 -> [Help 1] > > >> > > > >> > Is that a blocker, do you think? Is there > > >> > > > >> > On Sat, Aug 16, 2014 at 2:30 PM, Eric Yang <[email protected]> > wrote: > > >> >> Hi folks, > > >> >> > > >> >> I have put together a release candidate (rc0) for Chukwa 0.6.0. > > >> >> > > >> >> The RC is available at: > > >> >> http://svn.apache.org/repos/asf/chukwa/tags/chukwa-0.6.0-rc0/ > > >> >> The artifacts are available at: > > >> >> http://people.apache.org/~eyang/chukwa-0.6.0-rc0/ > > >> >> Site document is available at: > > >> >> http://people.apache.org/~eyang/chukwa-0.6.0-rc0/site/ > > >> >> > > >> >> Please try this release and vote. The vote will run from now for 5 > > >> days. > > >> >> > > >> >> Thanks > > >> >> > > >> >> Regards, > > >> >> Eric > > >> > > > >> > > > >> > > > >> > -- > > >> > Ari Rabkin > > >> > > >> > > >> > > >> -- > > >> Ari Rabkin > > >> > > > > > > > > > > > > -- > > > *Regards,* > > > --- *Sreepathi * > > > > > > > > > > > -- > > *Regards,* > > --- *Sreepathi * > > > -- *Regards,* --- *Sreepathi *
