ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์ที่มีป้ายกำกับ Apache Maven

[ Apache Maven ] how to install Apache Maven on ubuntu linux

Easy installation $ apt-get install maven2 to verify that it is correctly installed. $ mvn --version Manual installation ( working from zip file ) 1. download Apache Maven 2. install using instruction in README.txt 1) Unpack the archive where you would like to store the binaries, eg: $ tar xvjf apache-maven-2.0.8-bin.tar.bz2 2) A directory called "apache-maven-2.0.x" will be created. 3) Add the bin directory to your PATH, eg: Unix-based Operating Systems (Linux, Solaris and Mac OS X) export PATH=/usr/local/apache-maven-2.0.x/bin:$PATH two ways to permanently set path is way 1 edit /etc/environment way 2 write .bash_aliases at your home directory and add export PATH = YOUR OLD PATH:/usr/local/apache-maven-2.0.x/bin delete comment to execute .bash_aliases in .bashrc and run $ source .bashrc However, you can edit your classpath in .bashrc directly as well. 4) Make sure JAVA_HOME is set to the location of your JDK default jdk of...