does anyone know if it is possible to inject an environment variable into the mvn command. for example I would like to do the following in my jenkins build definition:
mvn -e -P ${env.profile} clean install assembly:assembly
my google foo is not turning up any way to do this outside the settings.xml and even that is not as dynamic as I need.
thanks in advance