Apache Maven is a project management software, managing building, reporting and documentation of a Java development project. In order to install and configure Hortonworks Sandbox.
For example, for version 3.0.4:
$ wget http://mirror.cc.columbia.edu/pub/software/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
$ tar xzf apache-maven-3.0.5-bin.tar.gz -C /usr/local
$ cd /usr/local
$ ln -s apache-maven-3.0.5 maven
$ tar xzf apache-maven-3.0.5-bin.tar.gz -C /usr/local
$ cd /usr/local
$ ln -s apache-maven-3.0.5 maven
Next, set up Maven path system-wide:
$ sudo vi /etc/profile.d/maven.sh
export M2_HOME=/usr/local/maven export PATH=${M2_HOME}/bin:${PATH}
Finally, log out and log in again to activate the above environment variables.
To verify successful installation of maven, check the version of maven:
To verify successful installation of maven, check the version of maven:
$ mvn -version