Pages

Wednesday, August 8, 2018

How to install Maven on Mac OS



In this video I am going to show How to install Maven on Mac OS.
Maven is build tool primary for Java projects.
Prerequisites:
How to install Java JDK on Mac OS X ( with JAVA_HOME ) -
https://youtu.be/y6szNJ4rMZ0

Maven Installation Steps
-------------------------------------------
Download the Apache Maven bin.tar.gz file from
http://maven.apache.org/download.cgi.
Extract the distribution archive to /Applications/apache-maven-3.4.5.

$ tar -xvf apache-maven-3.4.5-bin.tar.gz

Add the M2_HOME environment variable. Edit your ~/.bash_profile

open -e ~/.bash_profile

Add the following exports

export M2_HOME=/Applications/apache-maven-3.4.5
export PATH=$PATH:$M2_HOME/bin

--------------------------------------------------
In this video series we will learn Maven tutorial for beginners - Learn Apache Maven in simple and easy steps starting from Environment Setup, Build Life Cycle, Build profiles, Repositories, POM, Plug-ins, Eclispe IDE, Creating Project, Build & Test Project, External Dependencies, Project Documents, Project Templates, Build Automation, Dependency Management, Deployment Automation, Web Application NetBeans, IntelliJ IDEA, Maven – Download Apache Maven, What is Maven and how do I install it? , How to install apache maven in a Mac system, How to Install Maven on Mac for Java, How to Setup/Install Maven Classpath Variable on Mac
How to Install Maven on Mac.

----------------------Follow---------------------------------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
-------------------------Stuff I use to make videos -------------------
Stuff I use to make videos
Windows notebook –
http://amzn.to/2zcXPyF
Apple MacBook Pro –
http://amzn.to/2BTJBZ7
Ubuntu notebook -
https://amzn.to/2GE4giY
Desktop -
http://amzn.to/2zct252
Microphone –
http://amzn.to/2zcYbW1
notebook mouse –
http://amzn.to/2BVs4Q3
------------------Facebook Links ----------------------------------------
http://fb.me/ProgrammingKnowledgeLear...
http://fb.me/AndroidTutorialsForBegin...
http://fb.me/Programmingknowledge
http://fb.me/CppProgrammingLanguage
http://fb.me/JavaTutorialsAndCode
http://fb.me/SQLiteTutorial
http://fb.me/UbuntuLinuxTutorials
http://fb.me/EasyOnlineConverter
-------------------Online Courses to learn----------------------------
Java -
https://bit.ly/2H6wqXk
C++ -
https://bit.ly/2q8VWl1
AngularJS -
https://bit.ly/2qebsLu
Python -
https://bit.ly/2Eq0VSt
C-
https://bit.ly/2HfZ6L8
Android -
https://bit.ly/2qaRSAS
Linux -
https://bit.ly/2IwOuqz
AWS Certified Solutions Architect -
https://bit.ly/2JrGoAF
Modern React with Redux -
https://bit.ly/2H6wDtA
MySQL -
https://bit.ly/2qcF63Z