In the previous post we have seen how to install JBoss web server on linux machine. This post will guide you to install Maven on the linux machine.

Maven is a project management tool from Apache based on POM (Project Object Model). It is declarative; All you have to do is create a pom.xml file and put your source in the default directory and it will take care of the rest.

Install Maven

1) Download Maven-tool
sudo wget -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
2) Install using yum command
sudo yum install -y apache-maven
3) Check version
mvn --version
4) Done
Back << Install JBoss on Linux                       Next >> Install Apache Ant on Linux
Categories: Linux