# MAVEN_HOME for Maven 1 - M2_HOME for Maven 2Įxport M2_HOME=/usr/local/src/apache-maven # cd /etc/profile.d/Īdd the following configuration in ‘maven.sh’ configuration file. Now we need to configure the environments variables to pre-compiled Apache Maven files on our system by creating a configuration file ‘maven.sh’ in the ‘/etc/profile.d’ directory. # cd /usr/local/srcĮxtract the downloaded archive file, and rename it using following commands. Next, go to the official Apache Maven download page and grab the latest version or use the following wget command to download it under the maven home directory ‘/usr/local/src’. OpenJDK 64-Bit Server VM (build 25.141-b16, mixed mode) OpenJDK Runtime Environment (build 1.8.0_141-b16) If installation went well, you see the following output. # yum install -y java-1.8.0-openjdk-devel Java Development Kit (JDK) is a primary requirement to install Apache Maven, so first install Java on CentOS 7 system from the default repository and verify the version using following commands.
![how to install maven 3.3 3 on windows how to install maven 3.3 3 on windows](https://venkatjavasource.files.wordpress.com/2015/06/mavenfolder.png)
![how to install maven 3.3 3 on windows how to install maven 3.3 3 on windows](https://sitenol.com/wp-content/uploads/2015/08/extracted_maven_source_files.png)
![how to install maven 3.3 3 on windows how to install maven 3.3 3 on windows](https://i.ytimg.com/vi/qPkrvIGUvtU/hqdefault.jpg)
#How to install maven 3.3 3 on windows how to#
In this article, I will explain how to install and configure latest version of Apache Maven on a CentOS 7 system (the given instructions also works on RHEL and Fedora distribution). Apache Maven is a open source software project management and build automation tool, that is based on the conception of a project object model ( POM), which is primarily used for deploying Java-based applications, but can also be used on projects written in C#, Ruby and other programming languages.