You use the mvn command from the command line to build a Maven project through the Maven home command line.
The required POM file must be located in the directory where the command is to be run. You supply this command with the build lifecycle, phase, or goal as an argument.