Is it possible to set environment variable with maven (OS: Linux)?
I already have user-defined properties (in the pom and in profiles.xml)….my problem is, how to execute following from Maven
export GGA_FRE=/path
So will be possible, that every developer can set his own path for the GGA_FRE.
This answer is not correct, at least not completely (see comments).
Unfortunately I can’t delete it as it has been accepted. Your milage may vary.
Use the exec:exec mojo.
now call it like this
mvn install -Dmy.path=/var/users/groucho