Fully Automated CICD Pipeline
Maven can be configured in the Jenkins. Java is prerequisite for Jenkin and also dont forget to add the Java home path in Jenkin JDK configuration. We can find that settings in Jenkins -> Global Tool Configuration -> JDK -> JAVA HOME.
We can find the java home path in CentOS in /usr/lib/jvm/.