You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Mistroni <mm...@gmail.com> on 2006/12/14 23:06:33 UTC

Maven2 under Linux

 hi all,
  anyone is running maven2 on Linux platform?  i have extracted the tar.gz,
have exported variables (MAVEN_HOME , path etc) and
i run mvn linux (ubuntu) keeps on saying me that it is an unknow command

and even if i move the the {MAVEN_HOME}\bin and run mvn i still get same
error

can anyone give me some help?

thanks in advance and regards
 marco

Re: Maven2 under Linux

Posted by Marco Mistroni <mm...@gmail.com>.
Hello Sean,
 yes that fixed my problem.... i forgot to export the path..

thanx again
 marco

On 12/14/06, Sean Hennessy <sh...@astutenetworks.com> wrote:
>
> reference installation instuctions.
> http://maven.apache.org/download.html#installation
>
> typically there is a .bashrc file within your home directory
> find it with "ls -la"
> edit .bashrc and add
> export PATH=/usr/local/maven-2.0.3/bin:$PATH
> then test with "which mvn" will show where mvn lives..
>
> Sean
>
> -----Original Message-----
> From: Marco Mistroni [mailto:mmistroni@gmail.com]
> Sent: Thursday, December 14, 2006 2:07 PM
> To: Maven Users List
> Subject: Maven2 under Linux
>
>
> hi all,
>   anyone is running maven2 on Linux platform?  i have extracted the
> tar.gz, have exported variables (MAVEN_HOME , path etc) and i run mvn
> linux (ubuntu) keeps on saying me that it is an unknow command
>
> and even if i move the the {MAVEN_HOME}\bin and run mvn i still get same
> error
>
> can anyone give me some help?
>
> thanks in advance and regards
> marco
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: Maven2 under Linux

Posted by Sean Hennessy <sh...@astutenetworks.com>.
reference installation instuctions.
http://maven.apache.org/download.html#installation

typically there is a .bashrc file within your home directory 
find it with "ls -la"
edit .bashrc and add
export PATH=/usr/local/maven-2.0.3/bin:$PATH
then test with "which mvn" will show where mvn lives..

Sean

-----Original Message-----
From: Marco Mistroni [mailto:mmistroni@gmail.com] 
Sent: Thursday, December 14, 2006 2:07 PM
To: Maven Users List
Subject: Maven2 under Linux


 hi all,
  anyone is running maven2 on Linux platform?  i have extracted the
tar.gz, have exported variables (MAVEN_HOME , path etc) and i run mvn
linux (ubuntu) keeps on saying me that it is an unknow command

and even if i move the the {MAVEN_HOME}\bin and run mvn i still get same
error

can anyone give me some help?

thanks in advance and regards
 marco

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