Answers for "how to run java program using maven in command prompt"

2

run java program maven

mvn exec:java -Dexec.mainClass="com.vineetmanohar.module.Main" -Dexec.args="arg0 arg1 arg2"
Posted by: Guest on November-29-2019
0

How to run Maven from Java?

MavenCli cli = new MavenCli();
cli.doMain(new String[]{"clean", "install"}, "project_dir", System.out, System.out);
Posted by: Guest on July-27-2021

Code answers related to "how to run java program using maven in command prompt"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language