![]() Optional: Add the MAVEN_OPTS environment variable to specify JVM properties, e.g.The subdirectory apache-maven-3.6.3 will be created from the archive. apache-maven-3.6. to the directory you wish to install Maven 3.6.3. Extract the distribution archive, i.e.Move to home folder and create a new folder for maven artifacts:.Installing by hand: Download Maven from its homepage.With Mac OS X, Maven is not installed by default anymore. In “Edit environment variable” dialog, clicks on the New button and add this %MAVEN_HOME%\bin In system variables, find PATH, clicks on the Edit.button and add a MAVEN_HOME variable and point it to c:\opt\apache-maven-3.6.3 In “Environment variables” dialog, System variables, Clicks on the New. In System Properties dialog, select Advanced tab and clicks on the Environment Variables. Visit Maven official website, download the Maven zip file, for example : apache-maven-3.6.3-bin.zip.Make sure JDK is installed, and JAVA_HOME environment variable is configured.Verify that Java was successfully installed by running the following command: $ java -version Installing Maven on Windows Once Java is installed, you must ensure that the commands from the Java JDK are in your PATH environment variable. For this you need to install the Java JDK.
0 Comments
Leave a Reply. |