Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need info about passing command line custome argument/s #97

Open
vikramvi opened this issue Jul 20, 2016 · 1 comment
Open

Need info about passing command line custome argument/s #97

vikramvi opened this issue Jul 20, 2016 · 1 comment

Comments

@vikramvi
Copy link
Member

Hi,

Can we please mention a section about passing command line custom arguments and accessing same from code ?

e.g. user id and password

mvn clean verify -Dtest.email="[email protected]" -Dtest.password="$pass$"

System.out.println(System.getProperty("test.email"));
System.out.println(System.getProperty("test.password"));

Thanks & Regards,
Vikram

@globalworming
Copy link

globalworming commented Apr 8, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants