I am having a new Maven project and I want to pass parameters through command line..
This is my requirement -
If I pass - install -Dinfra=local
then my test should run on local machine
If I pass - install -Dinfra=ip
then my test should run on the machine having desired ip.
I just wanted to know how to configure this infra
into my project so that I can access that through command line.. Many thanks!