Apache Maven is a project management software, managing building, reporting and documentation of a Java development project. In order to install and configure Apache Maven on CentOS, follow these steps.
First of all, you need to install Java 1.8 JDK. Make sure to install Java JDK, not JRE.
Then go ahead and download the latest Maven binary from its official site. For example, for version 3.3.9: