This is an old revision of the document!

Install Maven3 on Debian

Optional: Create Java user

tar -zxvf apache-maven-3.2.3-bin.tar.gz
sudo mv apache-maven-3.2.3/ /usr/local/apache-maven-3.2.3
sudo ln -s /usr/local/apache-maven-3.2.3 /usr/local/apache-maven
sudo addgroup java
sudo adduser --no-create-home --ingroup java --disabled-password --disabled-login java
sudo chown -R /usr/local/apache-maven*
sudo chmod -R 775 /usr/local/apache-maven*

edit ~/.bashrc

export JAVA_HOME=/usr/lib/jvm/java-8-oracle
export M3_HOME=/usr/local/apache-maven
export M3=$M3_HOME/bin
howto/install_maven3_on_debian.1408394339.txt.gz · Last modified: 2014/08/18 20:38 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0