1) wget http://apache.online.bg//maven/binaries/apache-maven-3.0.2-bin.tar.gz
2) tar -zxvf apache-maven-3.0.2-bin.tar.gz
3) cp -R apache-maven-3.0.2 /usr/share/
4) ln -s /usr/share/apache-maven-3.0.2/ /usr/share/maven
5) update-alternatives --install /usr/bin/mvn mvn /usr/share/maven/bin/mvn 1
6) update-alternatives --config mvn
Just to make sure that it is using the correct path.
No comments:
Post a Comment