Quick-Start with Maven 3.X on Linux Mint 16 Petra
The Tutorial Shows You Step-by-Step How-to Install and Getting-Started with Apache Maven 3.x on Linux Mint 16 Petra i386/amd64 Desktop.
Sure that the Apache Maven is also in the Ubuntu Apt Repositories, but if You want to be Certain of Getting-Installed Right the Latest Maven Release then Follow this Tutorial…
The Apache Maven 3 SetUp Require a Working Java JDK 6+ Installation, so You will Find Link to Installing Oracle Java JDK 7 on Linux 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 Web Site, and Managig Communication among members of a Working Team.
- Download Apache Maven 3.x Binaries:Maven bin.tar.gz for Mint
Open Terminal Window
(Press “Enter” to Execute Commands)
Double-Click on Archive and Extract into /tmp
Or from Shell:
tar xvzf apache-maven*.tar.gz -C /tmp/
Verify that JDK 6+ is Installed on System
How-to Install Oracle JDK 7 on Linux Mint:Install Oracle JDK for Mint
Relocate Maven Binaries
If Got “User is Not in Sudoers file” then Look: Solution
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 Management:Maven Quick-Start Guide
Quick-Start with Eclipse Java Developers on Linux Mint: