How to Install latest Apache Maven on Mac Mavericks 10.9 Easy Guide

March 18, 2014 | By Duchateaux | Filed in: Tutorial.

Quick-Start with Apache Maven on Mac 10.9 Mavericks

You are Welcome! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Apache Maven 3.x on Mac Mavericks 10.9 OS X.

The Apache Maven 3 SetUp Require a Working Java JDK 8+ Installation, so You will Find Link to Installing Oracle Java JDK on Mac OS X.

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

Quick-Start with Apache Maven on Mac 10.9 Mavericks - Featured
  1. Download Apache Maven 3.x Binaries

    Maven bin.tar.gz for Mac
  2. Double-Click on Maven Archive to Extract.

  3. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Quick-Start with Apache Maven on Mac 10.9 Mavericks - Open Terminal
  4. Verify that JDK 8+ is Installed on System

    java -version

    How to Install Oracle JDK 8+ on Mac OS X

    Install Oracle JDK for Mac
  5. Relocate Maven Binaries

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    rm /Users/[myUser]/Downloads/apache-maven*bin.tar.gz
    mv /Users/[myUser]/Downloads/apache-maven-[x.y.z] /opt/
  6. Add Maven Binaries to User Path

    nano $HOME/.profile


    export PATH=$PATH:/opt/apache-maven-[X.Y.X]/bin

    Ctrl+X to Save and Exit from “nano” :)

    Load New SetUp:

    source $HOME/.profile
  7. Test Maven Installation

    mvn -v
  8. Quick-Start with Maven Projects Management

    Maven Quick Start Guide
  9. Quick-Start with Eclipse Java Developers on Mac OS X

    Install Eclipse Java for Mac

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

QuickChic Theme • Powered by WordPress