Skip to content

Instantly share code, notes, and snippets.

@savelee
Created January 6, 2016 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savelee/6f2b0d9cddff56651710 to your computer and use it in GitHub Desktop.
Save savelee/6f2b0d9cddff56651710 to your computer and use it in GitHub Desktop.
Install Maven
#I've downloaded apache-maven-3.3.9-bin.zip from: https://maven.apache.org/download.cgi
#Unzip it to a place on your hard drive, for example ~/bin/apache-maven-3.3.9
#Add the bin directory of the created directory apache-maven-3.3.9 to the PATH environment variable.
#In my hidden .bash_profile:
#
# MAVEN
#
export PATH=${PATH}:/Users/myusername/bin/apache-maven-3.3.9/bin
#To confirm it went succesful run on the CLI:
mvn -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment