Answers for "run java maven project from command line"

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

execute maven project in cmd

#execute the project
mvn exec:java -Dexec.mainClass=com.mycompany.App
Posted by: Guest on September-23-2020
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 "run java maven project from command line"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language