This guide walks you through using Maven to build a simple Java project.
-
To Compile this project run the following command.
mvn clean install
-
To run this project run the following command.
java -cp target/hello-world-maven-0.1.0.jar hello.HelloWorld