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“. Java OpenJDK 8 has been installed on CentOS 7. # yum install -y java-1.8.0-openjdk-develĪfter the installation is complete, check the installed java version # java -versionĪnd you will get the result as below. Install Java 8 on CentOS 7 using the yum command. Apache Maven requires JDK 1.7 or above – we will be using Java 8 that can be installed from the CentOS repository. The first thing we will do here is to install Java on the CentOS 7 server. In this article, I will explain how to install and configure latest version of Apache Maven on a CentOS 7 system. It not only describes how software builds but also its dependencies. Maven is a build automation tool used primarily for Java-based projects, but can also be used to build and manage projects written in C#, Ruby, Scala, and other languages. Apache Maven is a software project management tool based on the POM (Project, Object, Model) concept.
0 Comments
Leave a Reply. |