Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] M2E: generating wrong path

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 <cmordant1@xxxxxxxxx> 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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top