How Do I Run Maven

How Do I Run Maven

cd to your project root folder in command line.mvn compile.mvn exec:java -Dexec.mainClass=com.kub.App.

How do I run an Maven?

  1. cd to your project root folder in command line.
  2. mvn compile.
  3. mvn exec:java -Dexec.mainClass=com.kub.App.

How do I run a Maven package?

2 Answers. Rightclick on your pom. xml and choose “Run as” -> “Maven build..” and put in Goals: package . If you now select “run” (CTRL + F11) it will run automatically if you select these run configuration.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.