Skip to content

Instantly share code, notes, and snippets.

@ryanpadilha
Created January 15, 2016 23:11
Show Gist options
  • Save ryanpadilha/9fa2a7f3e12423e7d3cd to your computer and use it in GitHub Desktop.
Save ryanpadilha/9fa2a7f3e12423e7d3cd to your computer and use it in GitHub Desktop.
$M2_HOME on Linux
$ vim .bashrc
M2_HOME=/home/ryanpadilha/Documentos/ambiente/apache-maven-3.3.9/bin
export PATH=$M2_HOME:$PATH
$ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T14:41:47-02:00)
Maven home: /Users/ryanpadilha/Documents/ambiente/apache-maven-3.3.9
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre
Default locale: pt_BR, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment