How can use two Maven profiles with for example <id = env>
that will contain id
, password
, account#
that will pass those values into .java
class and in Maven command line I just run something like:
mvn test ${env=stage}
and it will take id
, password
, account#
from profile that I choose. Or may be there are other way to do that not using profiles?