mvn
Apache Maven.
Tool for building and managing Java-based projects.
- Compile a project:
- Compile and package the compiled code in its distributable format, such as a `jar`:
- Compile and package, skipping unit tests:
- Install the built package in local maven repository. (This will invoke the compile and package commands too):
- Delete build artifacts from the target directory:
- Do a clean and then invoke the package phase:
- Clean and then package the code with a given build profile:
- Run a class with a main method:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).