Shulei Lee

blog

Installation

  • Download maven
  • Ensure JAVA_HOME environment variable is set and points to your JDK installation
  • Extract distribution archive in any directory, like /opt
  • Check environment variable value $JAVA_HOME
  • Adding to PATH
    export PATH=/opt/apache-maven/bin:$PATH
    
  • Confirm with
    mvn -v 
    

    to make sure maven work well.

Build

mvn package
LOADING