How-to Install Latest Apache Maven on Linux Mint 13 Maya LTS 32/64bit Easy Guide

March 18th, 2014 by thelinuxevangelist

Quick-Start with Maven 3.X on Linux Mint 13 Maya




The Tutorial Shows You Step-by-Step How-to Install and Getting-Started with Apache Maven 3.x on Linux Mint 13 Maya LTS 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 7+ Installation, so You will Find Link to Installing Oracle Java JDK 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.

Quick-Start with Apache Maven on Linux Mint 13 Maya LTS - Featured
  1. Download Apache Maven 3.x Binaries:

    Maven bin.tar.gz for Mint
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Ctrl+Alt+T

    Quick-Start with Apache Maven on Linux Mint 13 Maya LTS - Open Terminal
  3. Double-Click on Archive and Extract into /tmp

    Or from Shell:

    tar xvzf apache-maven*.tar.gz -C /tmp/
  4. Verify that JDK 7+ is Installed on System

    java -version

    How-to Install Oracle JDK 7 on Linux Mint:

    Install Oracle JDK for Mint
  5. Relocate Maven Binaries

    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution

    rm /home/[myUser]/Downloads/apache-maven*bin.tar.gz
    chown -R root:root /tmp/apache-maven*
    mv /tmp/apache-maven* /opt/
    exit
  6. 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
  7. Test Maven Installation

    mvn -version
  8. Quick-Start with Maven Projects Management:

    Maven Quick-Start Guide
  9. Quick-Start with Eclipse Java Developers on Linux Mint:

    Install Eclipse Java for Mint
(Visited 3 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , , , , , ,


Comments are disabled