You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gajo Csaba (JIRA)" <ji...@codehaus.org> on 2009/10/29 12:05:26 UTC
[jira] Commented: (MNG-4414) "ERROR: M2_HOME is set to an invalid
directory" Again ???
[ http://jira.codehaus.org/browse/MNG-4414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196515#action_196515 ]
Gajo Csaba commented on MNG-4414:
---------------------------------
In the mvn210.bat file it says:
SET M2_HOME=D:\java\maven\apache-maven-2.1.0
:checkMBat
if exist "%M2_HOME%\bin\mvn.bat" goto init
echo.
echo ERROR: M2_HOME is set to an invalid directory
-----------
Does the file D:\java\maven\apache-maven-2.1.0\bin\mvn.bat really exists on your system?
> "ERROR: M2_HOME is set to an invalid directory" Again ???
> ---------------------------------------------------------
>
> Key: MNG-4414
> URL: http://jira.codehaus.org/browse/MNG-4414
> Project: Maven 2
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.1.0, 2.2.1
> Environment: Windows Vista, JDK 1.5.0_11
> Reporter: Boda Béla
> Attachments: mvn210.bat, mvn221.bat, settings.xml
>
>
> I would like to upgrade from 2.0.9 to 2.2.1, but I face the following problem.
> I simply set the M2_HOME variable in the mvn210.bat:
> SET M2_HOME=D:\java\maven\apache-maven-2.1.0
> I run mvn210.bat and get this error:
> "ERROR: M2_HOME is set to an invalid directory"
> I attached my configs. This is ordinary i think.
> The same configuration is working with 2.0.9.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira