You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Guillaume Lederrey <gu...@gmail.com> on 2007/09/19 18:46:19 UTC
mvn not found in path
This is probably a dumb question, but I cant get Continuum to find
mvn. My mvn is installed in /usr/local/share/maven-2.0.7/.
I modified the startup script
(/usr/local/share/continuum-1.0.3/bin/linux/run.sh) to add the
following lines :
RUN_AS_USER=continuum
export PATH=$PATH:/usr/local/share/maven-2.0.7/bin
Still, no success ... I'm probably missing something obvious ... but
I cant find what it is. Could anyone point me in the right direction ?
Any help appreciated.
Guillaume
--
Jabber : gehel@amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
Re: mvn not found in path
Posted by Guillaume Lederrey <gu...@gmail.com>.
On 20/09/2007, olivier lamy <ol...@apache.org> wrote:
> Does your user continuum have M2_HOME and M2_HOME/bin in PATH in his
> .profile ?
You are right. I had to add M2_HOME/bin in the PATH in the .profile.
The "su -" used to change user overrides the PATH variable ... I got
tricked by this one.
Thanks a lot for your help !
--
Jabber : gehel@amessage.ch
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/
Re: mvn not found in path
Posted by olivier lamy <ol...@apache.org>.
Hi,
Does your user continuum have M2_HOME and M2_HOME/bin in PATH in his
.profile ?
Can you try with adding this in the user .profile :
- M2_HOME=/usr/local/share/maven-2.0.7 ; export M2_HOME
- PATH=$M2_HOME/bin:$PATH ; export PATH
Can we have the log ?
Thanks,
--
Olivier
2007/9/19, Guillaume Lederrey <gu...@gmail.com>:
>
> This is probably a dumb question, but I cant get Continuum to find
> mvn. My mvn is installed in /usr/local/share/maven-2.0.7/.
>
> I modified the startup script
> (/usr/local/share/continuum-1.0.3/bin/linux/run.sh) to add the
> following lines :
>
> RUN_AS_USER=continuum
> export PATH=$PATH:/usr/local/share/maven-2.0.7/bin
>
> Still, no success ... I'm probably missing something obvious ... but
> I cant find what it is. Could anyone point me in the right direction ?
>
> Any help appreciated.
>
> Guillaume
>
> --
> Jabber : gehel@amessage.ch
> Skype : Guillaume.Lederrey
> Projects :
> * http://rwanda.wordpress.com/
> * http://rwandatech.wordpress.com/
>
--
Olivier
Re: mvn not found in path
Posted by Emmanuel Venisse <em...@venisse.net>.
Why do you say that continuum can't find mvn?
Is it with the log message printed at startup or when continuum try to build a project?
Send us your logs
If you start with continuum, I think it would be better for you to start with continuum 1.1. Actually it's beta-2 and we're releasing beta-3
Emmanuel
Guillaume Lederrey a écrit :
> This is probably a dumb question, but I cant get Continuum to find
> mvn. My mvn is installed in /usr/local/share/maven-2.0.7/.
>
> I modified the startup script
> (/usr/local/share/continuum-1.0.3/bin/linux/run.sh) to add the
> following lines :
>
> RUN_AS_USER=continuum
> export PATH=$PATH:/usr/local/share/maven-2.0.7/bin
>
> Still, no success ... I'm probably missing something obvious ... but
> I cant find what it is. Could anyone point me in the right direction ?
>
> Any help appreciated.
>
> Guillaume
>