You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthew McCullough <am...@gmail.com> on 2010/04/08 05:03:49 UTC

README.txt bundled with maven doesn't mention M2_HOME

Team,

The download page for Maven mentions the M2_HOME variable and setting it up.
http://maven.apache.org/download.html

However, the README.txt that ships with Maven binaries does not
mention it in the "setup" instructions.  A student today was puzzled
at the disparity.  Should we add it to the README.txt with the binary
distributions for the sake of the users?

http://svn.apache.org/viewvc/maven/maven-2/branches/maven-2.2.x/apache-maven/README.txt?view=markup
and
http://svn.apache.org/viewvc/maven/maven-3/trunk/apache-maven/README.txt?view=markup


-Matthew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: README.txt bundled with maven doesn't mention M2_HOME

Posted by Aleksey Didik <di...@magenta-technology.ru>.
Hello Matthew,
IntelliJ Idea use M2_HOME as default maven dir, but you can override it 
(or point on it) through interface.

Best regards,
Aleksey.



13.04.2010 8:46, Matthew McCullough ?????:
> Okay.  Thanks for the input guys.  So it seems like _not_ defining it
> is the more flexible option, which would mean removing it from the web
> site materials.  I guess a JIRA is in order.  I'll point it at this
> thread.
>
> Any tooling absolutely require this M2_HOME var that you know of?
> M2Eclipse?  IntelliJ?
>
> Thanks,
> -Matthew
>
> On Thu, Apr 8, 2010 at 12:56 AM, Jörg Schaible<jo...@gmx.de>  wrote:
>    
>> Brett Porter wrote at Donnerstag, 8. April 2010 05:53:
>>
>>      
>>> Sounds like making them consistent makes sense.
>>>
>>> Note that the env var is not required - it is mostly for people that wish
>>> to run multiple versions of Maven.
>>>        
>> Actually I do explicitly not set it, *because* I run different versions of
>> Maven. The Maven start script will set it accordingly itself.
>>
>> - Jörg
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>    


Re: README.txt bundled with maven doesn't mention M2_HOME

Posted by Matthew McCullough <am...@gmail.com>.
Okay.  Thanks for the input guys.  So it seems like _not_ defining it
is the more flexible option, which would mean removing it from the web
site materials.  I guess a JIRA is in order.  I'll point it at this
thread.

Any tooling absolutely require this M2_HOME var that you know of?
M2Eclipse?  IntelliJ?

Thanks,
-Matthew

On Thu, Apr 8, 2010 at 12:56 AM, Jörg Schaible <jo...@gmx.de> wrote:
> Brett Porter wrote at Donnerstag, 8. April 2010 05:53:
>
>> Sounds like making them consistent makes sense.
>>
>> Note that the env var is not required - it is mostly for people that wish
>> to run multiple versions of Maven.
>
> Actually I do explicitly not set it, *because* I run different versions of
> Maven. The Maven start script will set it accordingly itself.
>
> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: README.txt bundled with maven doesn't mention M2_HOME

Posted by Jörg Schaible <jo...@gmx.de>.
Brett Porter wrote at Donnerstag, 8. April 2010 05:53:

> Sounds like making them consistent makes sense.
> 
> Note that the env var is not required - it is mostly for people that wish
> to run multiple versions of Maven.

Actually I do explicitly not set it, *because* I run different versions of 
Maven. The Maven start script will set it accordingly itself.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: README.txt bundled with maven doesn't mention M2_HOME

Posted by Brett Porter <br...@apache.org>.
Sounds like making them consistent makes sense.

Note that the env var is not required - it is mostly for people that wish to run multiple versions of Maven.

- Brett

On 08/04/2010, at 1:03 PM, Matthew McCullough wrote:

> Team,
> 
> The download page for Maven mentions the M2_HOME variable and setting it up.
> http://maven.apache.org/download.html
> 
> However, the README.txt that ships with Maven binaries does not
> mention it in the "setup" instructions.  A student today was puzzled
> at the disparity.  Should we add it to the README.txt with the binary
> distributions for the sake of the users?
> 
> http://svn.apache.org/viewvc/maven/maven-2/branches/maven-2.2.x/apache-maven/README.txt?view=markup
> and
> http://svn.apache.org/viewvc/maven/maven-3/trunk/apache-maven/README.txt?view=markup
> 
> 
> -Matthew
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org