If memory serves Eclipse doesn't pass environment variables through -
http://wiki.eclipse.org/M2E_FAQ#M2HOME_environment_variable

I'm guessing you're using one of the Run as Maven options?  If so you can
specify environment variables in the launch config.



On 17 July 2013 16:49, Charlie Mordant <cmorda...@gmail.com> wrote:

> Hi,
>
> I'm using my mac maven installation with m2e, and notice a little
> differences echoing env.PATH variable (with maven exec plugin):
>
> With raw console maven:
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/charliemordant/Documents/apache-maven-3.0.5/bin
>
> With m2e: /usr/bin:/bin:/usr/sbin:/sbin
>
> It forbids me to use advanced exec config ( launching bower which requires
> node binary in /usr/local/bin for example).
>
> Thank you in advance
>
> --
> Cordialement,
>
> Charlie Mordant
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to