Quick-Start with Maven 3.X on Elementary OS
You are Welcome! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Apache Maven 3.x on Elementary OS i386/amd64 Desktop/Server.
Especially relevant: Apache Maven is also in the Ubuntu Apt 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 6+ Installation, so You will Find Link to Installing Oracle Java JDK 6+ on Elementary OS.
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 Binaries
-
Open Terminal Window
Ctrl+Alt+t
(Press “Enter” to Execute Commands) -
Double-Click/Right-Click on Archive and Extract into /tmp.
Or from Shell:tar xvzf apache-maven*.tar.gz -C /tmp/
-
Installing Recommended Oracle Java JDK 8+ on Elementary OS
-
Relocate Maven Binaries
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
rm /home/[myUser]/Downloads/apache-maven*bin.tar.gz
sudo chown -R root:root /tmp/apache-maven*
mv /tmp/apache-maven* /opt/
exit
-
Add Maven Binaries to User Path
nano $HOME/.bashrc
Append:
export PATH=$PATH:/opt/apache-maven-[X.Y.X]/bin
Ctrl+X to Save and Exit from “nano” :)
Load New SetUp:
source $HOME/.bashrc
-
Test Maven Installation
mvn -v
-
Quick-Start with Maven Projects Management
Quick-Start with Eclipse Java Developers on Elementary OS:
SetUp Eclipse for Java on Elementary OS.
Tags: Apache, Apache Maven, apache maven elementary os, Elementary OS, Getting Started, Guide, How-to, Install, install maven elementary os, Java, java build tools, JDK, linux Elementary OS, Linux Tutorial, Maven 3, maven elementary os, oracle java, Quick Start, Tutorial