MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

How to install & configure Maven

How to install & configure Maven in Linux?

Step 1 – Install JAVA 11

Step 2 – Download and Extract Maven to a destination dir.

eg. 

$ sudo yum install wget unzip zip -y
$ cd /opt
$ wget https://mirrors.estointernet.in/apache/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.zip
$ unzip apache-maven-3.8.1-bin.zipCode language: JavaScript (javascript)

Step 3 – Set Maven PATH

$ export PATH=$PATH:/opt/apache-maven-3.8.1/binCode language: JavaScript (javascript)

Step 4 – Verify Maven Installation

$ mvn --version
Terminal output of mvn --version showing Apache Maven 3.8.1 and Java 11 on Linux

How to install & configure Maven in Windows?


- Download maven from https://maven.apache.org/download.cgi
- Extract into a directory such as C:\tools\apache-maven-3.8.5-bin
- Add C:\tools\apache-maven-3.8.5-bin\bin into env "path"
- Go to cmd and type $ mvn --version
Code language: JavaScript (javascript)
Windows Edit environment variable dialog with C:\tools\apache-maven-3.8.5-bin\bin added to Path
Windows cmd output of mvn --version showing Apache Maven 3.8.5 with Java 11.0.8 on Windows 10

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Major programming languages, the common package tool(s), and the central community package repository.

Most programming languages pair a command-line package tool with a public registry it downloads dependencies from. Examples are cargo with crates.io, pip with PyPI, Maven with Maven…

Read More

Develocity: The Complete Beginner-to-Advanced Tutorial

A practical self-study course covering Developer Productivity Engineering, Build Scan, Build Cache, build acceleration, test optimization, architecture, deployment, integrations, security, and enterprise operations. 28 chapters | Beginner…

Read More

Jenkins Build and Release Training Blueprint: Git/SVN with Maven and Ant

This revised guide turns a legacy training announcement into a practical learning blueprint for build-and-release engineering. It maps the Jenkins workflow, compares core tools, and includes realistic command and pipeline examples.

Read More

Maven Release Plugin vs Maven Git Flow Plugin for Artifact Releases

Learn how Maven Release Plugin and Maven Git Flow Plugin automate Java artifact releases. Compare workflows, commands, and selection criteria for your branching strategy.

Read More

Sonatype Nexus Repository Manager: A Practical DevOps Introduction

Sonatype Nexus helps teams centralize dependency downloads and internal artifact publishing. This guide shows how Nexus fits into CI/CD, when to use hosted/proxy/group repos, and how to configure common build clients.

Read More

Gradle for DevOps: Core Concepts, Build Workflow, and Practical Examples

Gradle is a flexible build automation tool used to compile, test, package, and publish software in repeatable pipelines. This guide explains how Gradle works, how it compares with Maven and Ant, and how to start with practical commands.

Read More