I am new in using m2eclipse. I have a maven project imported into Eclipse and need to configure run as maven project. The maven command need to pass a system property:
mvn -Dargline="-MyProperty=PropertyValue" clean install
How could I set the "run configration..." to pass the argument? I tried many times and still cannot get through.
Right-click on project, Run As > Maven Build...
Then click on the table at the bottom, click Add..., set argLine as parameter name, -DMyProperty=PropertyValue as parameter value