no

How to Install Maven 3 in Ubuntu

To install maven 3 you need to remove first, if you have, the previous versions installed (maven2). And execute the ff command in the termin...

To install maven 3 you need to remove first, if you have, the previous versions installed (maven2). And execute the ff command in the terminal:
sudo apt-get remove maven2
sudo add-apt-repository ppa:natecarlson/maven3
sudo apt-get install maven3
You should also configure maven environment setting as follows:
//execute 
sudo nano /etc/environment

M3_HOME="/home/edward/java/apache/maven-3.0.4"
MAVEN_HOME="/home/edward/java/apache/maven-3.0.4"
M3="home/edward/java/apache/maven-3.0.4"    
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/edward/java/apache/maven-3.0.4"

Related

ubuntu 8357958191781694688

Post a Comment Default Comments

2 comments

Anonymous said...

Thanx.. It was useful.

Anonymous said...

Thanx.. It was useful.

item