Luntbuild - pass M2_HOME and JAVA_HOME to Maven Builder - HOW TO?

How can I define Evnironment Variables to be passed to each builder ?

I have next problem:

Our different product releases use different java and different maven 1.5, 2.0.8 and 1.6, 2.0.9 accordingly

Lunt project reflects product release.

Maven2 Builder runs maven using /usr/local/bin/mvn

How can I define on project level two variables M2_HOME and JAVA_HOME to refer to desired maven location?




Share this article: