$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Maven Ubuntu 16.04 Installation – Step-by-step

December 26, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Maven

    Download Apache Maven 3.x Binaries

    Maven bin.tar.gz for Ubuntu
  2. 3. Extracting Apache Maven

    Now to Extract Apache Maven
    Possibly Double-Click on Archive and Extract into /tmp:


    Or from Shell:

    tar xvzf apache-maven*.tar.gz -C /tmp/
  3. 4. Setting up Java

    Verify that JDK 8+ is Installed on System

    javac -version

    How to Install Recommended Oracle Java JDK on Ubuntu

    Installing Oracle JDK for Ubuntu
  4. 5. Installing Apache Maven

    Next Relocate Maven Binaries
    (This is a System-wide Installation, for a Local one simply store it somewhere into the Home Folder)
    Now to remove the Original Archive:

    rm ~/Downloads/apache-maven*bin.tar.gz

    To set the SuperUser as Owner run:

    sudo chown -R root:root ~/Downloads/apache-maven*

    And then switch the Contents with:

    sudo mv ~/Downloads/apache-maven** /opt/apache-maven-3

    Again Add Maven Binaries to User Path
    So to ammend the User Bash Config File:

    sudo su -c "echo 'export PATH=$PATH:/opt/apache-maven-3/bin' >> ~/.bashrc"

    Then to load the New PATH:

    bash

    Finally, Test the Maven Installation:

    mvn -v

Contents