how to check if apache maven is installed correctly or not code example Example: know the version of maven mvn --version