2020. 3. 25. 15:58ㆍ카테고리 없음
As we discussed in previous tutorials that Apache maven is Java based project management tool so JDK is the first requirement. Let us discuss step by step maven installation on Mac os. Install maven on Mac:. Check Java installation on your machine.
Use machine: joseph$ java -version command to verify the java installation. Install the java software development kit if it is not installed. Add JAVAHOME environment variable if it is not added. Use command export JAVAHOME=/Library/Java/Home. Download apache maven from. Extract the maven archive file (like apache-maven-3.3.1-bin.tar.gz) to the location where we want to install it. Add maven environment variables.
Use command export M2HOME=/usr/local/apache-maven/apache-maven-3.3.1. Now append the maven bin folder. Use command export PATH=/usr/local/apache-maven/apache-maven-3.3.1/bin.
Maven Download For Windows
Verify maven installation using machine: joseph$ mvn –version command.