This article will guide you on how to #install #Apache #Maven on Ubuntu. Basically, Apache Maven is a popular build management tool for #Java projects.
To test The Maven Installation in #Ubuntu:
Run the command mvn -version to check if the maven is installed properly.
You will see the below description on the command prompt. Maven is installed successfully.
Some Maven #Commands:
1. mvn clean. This command cleans the maven project by deleting the target directory.
2. mvn compiler:compile. This command compiles the java source classes of the maven project.
3. mvn compiler:testCompile.
4. mvn package.
5. mvn install.
6. mvn deploy.
7. mvn validate.
8. mvn dependency:tree.