Apache Maven Fedora 27 Installation Guide

February 3, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Apache Maven Fedora 27 Install

You are Welcome! The Tutorial Shows You Step-by-Step How to Install Apache Maven 3.x on Fedora 27 Desktop/Server.

Sure that the Apache Maven is also in the Fedora Yum Repositories, but if You want to be Sure of Install the Latest Maven Release then Follow this Tutorial…

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

Furthermore, 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.

Finally, Maven in Addition to providing Build capabilities, can also Run Reports, Generate a Website, and Managig Communication among members of a Working Team

Apache Maven Fedora 27 Installation Guide - Featured
  1. Download Apache Maven 3.x Binaries

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

    Apache Maven Fedora 27 Installation Guide - Open Terminal
    Or LogIn into Shell…
  3. Double-Click on Archive and Extract into /tmp.

    Or from Shell:

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

    java -version

    How to Install Oracle JDK 8+ on Fedora

    Install Oracle JDK for Fedora
  5. 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/
  6. Add Maven Binaries to User Path

    nano $HOME/.bashrc


    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 -v
  8. Quick-Start with Maven Projects Management

    Maven Quick Start Guide
  9. How to Install Eclipse Java Developers on Fedora:
    SetUp Eclipse for Java on Fedora.

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

QuickChic Theme • Powered by WordPress