Maven 3.X Linux Mint 18.x Installation Guide
Hello Mint User! The Tutorial Shows You Step-by-Step How to Install and Getting-Started with Latest Apache Maven 3.x on Linux Mint 18.x Sarah/Serena/Sonya/Sylvia LTS i386/amd64 Mate/Cinnamon/KDE/Xfce Desktop.
Sure that the Apache Maven is also in the Mint Apt Repositories, but if You want to be Certain of Getting-Installed Right the Latest Maven Release then Follow this Tutorial…
The Apache Maven SetUp Require a Working Oracle Java JDK 8+ Installation, so You will Find Link to Installing Oracle Java JDK on Mint.
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.
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
Download Apache Maven 3.x BinariesMaven bin.tar.gz for Mint
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 Recommended Oracle Java JDK on MintInstalling Oracle JDK for Mint
Relocate Maven Binaries
If Got “User is Not in Sudoers file” then see: How to Enable sudo
sudo chown -R root:root /home/[myUser]/Downloads/apache-maven*
mv /home/[myUser]/Downloads/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 Mint:
SetUp Eclipse for Java on Mint.