Hi,
Can you paste the console output.
You can add the maven bin directory to the path variable so that you dont
have to type the full path to mvn.bat every time you run the mvn scripts.
Also what do you get when you type mvn -version in the command prompt.
Thanks
Sachin
----------------------------------------------------------------------
Message: 1
Date: Mon, 3 Mar 2008 15:32:30 -0600
From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
Subject: Re: [xwiki-devs] Building Xwiki core
To: devs(a)xwiki.org
Message-ID:
<fb681d280803031332y756f2f66g72f65d3b687ca66(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Yes,
I am setting the JAVA_HOME variable with DOS prompt
and after I set it, I log of and then it is available in the list of env.
variables after I log back in.
But, when I try to run mvn install, it still gives me the same error.
Also, although, I set the M2_HOMe variable, I am not able to use mvn
command
without its location! (I have to write the full path of the mvn.bat file
and
then say install after a space)
I dont know what I am doing wrong.
Thanks for your replies.