Hello, I have been trying to build the XWiki sources but with no luck. I am getting stuck at the first step itself- setting up Maven.
Following are the commands I use to set the envt. variables as indicated in this link - http://maven.apache.org/download.html#Installation and the errors I get. Can anybody tell from this, whats going wrong here? C:\>set M2_HOME = C:\Kam\Software\apache- maven-2.1-SNAPSHOT\apache-maven-2.1-SNA PSHOT C:\>set Path = %Path%;%M2_HOME%\bin C:\>echo %M2_HOME% %M2_HOME% C:\>set > env.txt C:\>set PATH = %PATH%;%M2_HOME%\bin C:\>set > env.txt C:\>set JAVA_HOME = "C:\Program Files\Java\jdk1.6.0" C:\>set PATH = %PATH%;%JAVA_HOME%\bin C:\>set > env.txt C:\>mvn --version 'mvn' is not recognized as an internal or external command, operable program or batch file. C:\>mvn --version 'mvn' is not recognized as an internal or external command, operable program or batch file. C:\>cd Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>mvn --ve rsion ERROR: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in your environment to match the location of your Java installation C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>set JAVA _HOME = "C:\Program Files\Java\jdk1.6.0" C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>mvn --ve rsion ERROR: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in your environment to match the location of your Java installation Thanks a lot in advance. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

