I was using 1.6. I switched to 1.7 and issue is fixed. Thank you. Rajika
On Wed, Dec 11, 2013 at 1:24 AM, Mehant Baid <[email protected]> wrote: > Probably result of using an incorrect Java version, Drill requires Java 7. > What version are you using? > > Thanks > Mehant > > > On 12/10/13, 10:10 PM, Rajika Kumarasiri wrote: > >> I cloned the repo as given in >> https://cwiki.apache.org/confluence/display/DRILL/Contributing. >> >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 4.364s >> [INFO] Finished at: Wed Dec 11 01:09:06 EST 2013 >> [INFO] Final Memory: 17M/212M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile >> (default-compile) on project drill-protocol: Fatal error compiling: >> invalid >> target release: 1.7 -> [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/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :drill-protocol >> >> >
