How to Install and Configure Apache Maven on Ubuntu 18.04

Published: 16 June 2020
on channel: Liquid Web
716
5

In this video, we describe how to install and configure Apache Maven on Ubuntu 18.04.

Commands used:
apt update -y
apt install maven -y
mvn -v

wget https://downloads.apache.org/maven/ma... -P /tmp
tar xf /tmp/apache-maven-3.6.3-bin.tar.gz -c /opt
ln -s /opt/apache-maven-3.6.3 /opt/maven
vim /etc/profile.d/maven.sh

export JAVA_HOME=/usr/lib/jvm/default-java
export M2_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export PATH=${M2_HOME}/bin:${PATH}

source /etc/profile.d/maven.sh
mvn -version

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-i...

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/pr...

Video by: Justin Palmer


Watch video How to Install and Configure Apache Maven on Ubuntu 18.04 online without registration, duration hours minute second in high quality. This video was added by user Liquid Web 16 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 716 once and liked it 5 people.