Error while Maven Install
Posted: Mon Nov 26, 2012 5:09 am
Hi, I getting below error while running Maven Install. Can anyone help?
...
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ admin ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- javarebel-maven-plugin:1.0.5:generate (generate-rebel-xml) @ admin ---
[INFO] Processing com.cititech:admin with packaging war
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ admin ---
[INFO] Compiling 1 source file to C:\Project\all-eclipes-workspace\indigo-workspace-broadleafcommerce\DemoSite\admin\target\admin\WEB-INF\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [6.719s]
[INFO] core .............................................. SUCCESS [33.891s]
[INFO] admin ............................................. FAILURE [9.140s]
[INFO] site .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51.594s
[INFO] Finished at: Mon Nov 26 17:36:15 SGT 2012
[INFO] Final Memory: 9M/16M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project admin: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: invalid target release: 1.6
[ERROR] Usage: javac <options> <source files>
[ERROR] where possible options include:
[ERROR] -g Generate all debugging info
[ERROR] -g:none Generate no debugging info
[ERROR] -g:{lines,vars,source} Generate only some debugging info
[ERROR] -nowarn Generate no warnings
[ERROR] -verbose Output messages about what the compiler is doing
[ERROR] -deprecation Output source locations where deprecated APIs are used
[ERROR] -classpath <path> Specify where to find user class files
[ERROR] -cp <path> Specify where to find user class files
[ERROR] -sourcepath <path> Specify where to find input source files
[ERROR] -bootclasspath <path> Override location of bootstrap class files
[ERROR] -extdirs <dirs> Override location of installed extensions
[ERROR] -endorseddirs <dirs> Override location of endorsed standards path
[ERROR] -d <directory> Specify where to place generated class files
[ERROR] -encoding <encoding> Specify character encoding used by source files
[ERROR] -source <release> Provide source compatibility with specified release
[ERROR] -target <release> Generate class files for specific VM version
[ERROR] -version Version information
[ERROR] -help Print a synopsis of standard options
[ERROR] -X Print a synopsis of nonstandard options
[ERROR] -J<flag> Pass <flag> directly to the runtime system
[ERROR] -> [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/disp ... eException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :admin