Created
February 20, 2017 17:54
-
-
Save justinnaldzin/248d5b13ffaba6f08c126b5986111572 to your computer and use it in GitHub Desktop.
Install Apache Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Apache Maven | |
cd /opt | |
wget http://www-eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | |
tar xzf apache-maven-3.3.9-bin.tar.gz | |
ln -s apache-maven-3.3.9 maven | |
echo 'export M2_HOME=/opt/maven' >> /etc/profile.d/maven.sh | |
echo 'PATH=${M2_HOME}/bin:${PATH}' >> /etc/profile.d/maven.sh | |
source /etc/profile.d/maven.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment