sidebar hamburger menu

Apache Maven

TuxCare's Endless Lifecycle Support (ELS) for Apache Maven provides security patches for versions of Apache Maven that have reached End of Life (EOL) or are no longer maintained by the upstream vendor. Our ELS for Apache Maven service is designed for organizations that are not yet ready to migrate to newer Maven versions and that are seeking long-term stability for their build infrastructure.

Supported Versions

  • Apache Maven 3.8.1
  • Apache Maven Shared Utils 3.2.1

Installation

Prerequisites

  • Java Development Kit (JDK) 7 or later installed (verify with java -version)
  • Nexus repository access credentials (username and password) — contact sales@tuxcare.com
  • To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.

Linux Installation

  1. Download Apache Maven

    Download from TuxCare via the terminal using your credentials. For example, Maven 3.8.1:

    curl -u USERNAME:PASSWORD -O https://nexus.repo.tuxcare.com/repository/els_java/org/apache/maven/apache-maven/3.8.1-tuxcare.1/apache-maven-3.8.1-tuxcare.1-bin.tar.gz
    

    Replace USERNAME and PASSWORD with your actual credentials, and adjust the version as needed.

  2. Extract the archive

    sudo mkdir -p /opt/maven
    sudo tar -xvzf apache-maven-3.8.1-tuxcare.1-bin.tar.gz -C /opt/maven
    
  3. Verify the installation

    Run the Maven binary from the extracted directory.

    /opt/maven/apache-maven-3.8.1-tuxcare.1/bin/mvn --version
    

    The output should display the Maven version and build details.

Windows Installation

  1. Download Apache Maven

    Download the .zip archive from TuxCare Nexus using your credentials

  2. Extract the archive

    Extract, for example, apache-maven-3.8.1-tuxcare.1-bin.zip to a directory of your choice, e.g., C:\Maven

  3. Verify the installation

    Open a Command Prompt or PowerShell window and run the following command.

    C:\Maven\apache-maven-3.8.1-tuxcare.1\bin\mvn --version
    

    The output should display the Maven version and build details.

What's Next?