Quick-Start with Maven 3.X on Red Hat Linux 6.X
You are Welcome! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Apache Maven 3.x on Red Hat Enterprise Linux 6.X i686/x8664 Desktop/Server.
Especially relevant: Apache Maven is also in the Red Hat Linux Yum Repositories, but if you want to be sure to Install Latest Maven Release then follow this Guidance.
The Apache Maven 3 SetUp Require a Working Java JDK 8+ Installation, so you will Find Link to Installing Oracle Java JDK on Red Hat Linux.
Maven calls its build scripts Project Object Model (POM) files. These POM files are in XML, and each Maven project or module will have an accompanying pom.xml file.
A Project Management Tool such as Maven provides a Superset of features found in a Build Tool.
But in Addition to providing Build capabilities, Maven can also Run Reports, Generate a Website, and Managig Communication among members of a Working Team
Download Apache Maven 3.x BinariesMaven bin.tar.gz for Red Hat Linux
Open Terminal Window
(Press “Enter” to Execute Commands)
Or LogIn into Shell…
Double-Click on Archive and Extract into /tmp.
Or from Shell:
tar xvzf apache-maven*.tar.gz -C /tmp/
Verify that JDK 8+ is Installed on System
How to Install Oracle JDK 8+ on Red Hat LinuxInstall Oracle JDK for Red Hat Linux
Relocate Maven Binaries
If Got “User is Not in Sudoers file” then see: How to Enable sudo
sudo chown -R root:root /tmp/apache-maven*
mv /tmp/apache-maven* /opt/
Add Maven Binaries to User Path
Ctrl+X to Save and Exit from “nano” :)
Load New SetUp:
Test Maven Installation
Quick-Start with Maven Projects ManagementMaven Quick Start Guide
Quick-Start with Eclipse Java Developers on Red Hat Linux