Difficulty: Beginner
Estimated Time: 10 minutes

In this tutorial you will learn basic Apache Maven

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Introduction to Maven

Step 1 of 2

Step 1- Test Maven in Your Environment

Maven is a Java program, to use it you should already download and install JRE or JDK and Apache Maven in your environment.

In this environment you can check that Java (JRE) is already installed by running java -version

We can work using maven by running executable command mvn from you shell prompt. Try to run mvn -version to check whether you have Maven installed in this environment.

If you get output with Maven version information, then Maven is already installed and you are ready to use Maven.

Type whereis mvn to see where is you mvn executable script is located.