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
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.gzReplace
USERNAMEandPASSWORDwith your actual credentials, and adjust the version as needed.Extract the archive
sudo mkdir -p /opt/maven sudo tar -xvzf apache-maven-3.8.1-tuxcare.1-bin.tar.gz -C /opt/mavenVerify the installation
Run the Maven binary from the extracted directory.
/opt/maven/apache-maven-3.8.1-tuxcare.1/bin/mvn --versionThe output should display the Maven version and build details.
Windows Installation
Download Apache Maven
Download the .zip archive from TuxCare Nexus using your credentials
Extract the archive
Extract, for example,
apache-maven-3.8.1-tuxcare.1-bin.zipto a directory of your choice, e.g.,C:\MavenVerify 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 --versionThe output should display the Maven version and build details.