I am looking for most efficient way to pass parameters to maven through idea 14 (I have just started working with idea).
When I want to compile and deploy my application through maven itself, I just run this command
mvn clean package tomcat7:redeploy -P localhost -Daugage_env=local.
I dont know, how to pass this parameter
-Daugage_env=local as default (or how to integrate it with localhost profile, which would be even better).
I did try
maven-projects->myproject->lifecycle->right click on compile and create custom compile where I changed the
Command line text to
compile -Daugage_env=local, but it does not work.