Hi ,
thanks for reply , Now i understood what did wrong. and I am doing mvn-install on Demosite project in eclipse. i am getting build failed in admin module. i am getting this error. and I extract maven zip file in program files / apache software / folder . i set the same path for maven also. In user variables
( name : M2_HOME
value : C:\Program Files (x86)\Apache Software Foundation\apache-maven-3.0.4
) .. any thing wrong in path issue for maven...
please follow below error ...
ecommerce ......................................... SUCCESS [3.218s]
[INFO] core .............................................. SUCCESS [1:03.360s]
[INFO] admin ............................................. FAILURE [3.344s]
[INFO] site .............................................. SKIPPED
[INFO] combined .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:10.265s
[INFO] Finished at: Tue Feb 19 14:37:35 GMT+05:30 2013
[INFO] Final Memory: 8M/21M
[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] Unable to locate the Javac Compiler in:
[ERROR] C:\Program Files (x86)\Java\jre6\..\lib\tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[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
Thanks
Chandu allu