I am trying to run maven from my java class based on this suggestion:
How to run maven from java?
Runtime.getRuntime().exec(\"mvn\");
User "mvn.cmd" instead of mvn or mvn.bat. It works fine.