I'm new to java and wants to run maven command with attributes from java code. How can I achieve this?
Here is command that is executing from script file.
$MVN test -Dtest=$SCRIPT_PATH -Dcapability.app=$APP_FILE_PATH -Dmaven.test.failure.ignore=true >> $LOGFILE_PATH;
I want to execute this same thing from java code.
please help me if any one knows.
Thanks in advance