Installing Maven on AWS EC2

by
, posted
  1. Go to official repo and grab the .tar.gz URL.
  2. Go to /opt/ dir with root access preferably and run: wget maven-tar.gz-url
  3. Once it is installed, you need to configure the $PATH M2_HOME=/opt/maven M2=/opt/maven/bin Locate the java using find / -name java And add the java to the $PATH as well.
  4. Coming back to /opt/ and extract the tar.bz using tar -zxvf tar-package
  5. Rename the dir mv maven-release-* maven
Your Signature