Creating a Maven project

Paul issack minoltan
2 min readDec 3, 2022


These blogs are sub-blogs of the main series blogs to reduce the reading time if they already know these things.

Maven is one of the most used building tools for Spring projects in real-world scenarios. Because Maven’s such a well-known tool, you may already know how to create a project and add dependencies to it using its configuration.

In this blog, we’ll discuss creating a Maven project. Maven is not a subject directly related to Spring, but it’s a tool you use to easily manage an app’s build process regardless of the framework you use.

A build tool is a software we use to build apps more easily. You configure a build tool to do the tasks that are part of building the app instead of manually doing them. Some examples of tasks that are often part of building the app are as follows:

  1. Downloading the dependencies needed by your app
  2. Compiling the app
  3. Running tests
  4. Validating that the syntax follows rules that you define
  5. Checking for security vulnerabilities
  6. Packaging the app in an executable archive

Steps to follow


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""



<!-- For the sample we added this dependency-->


When you add a new dependency to the pom.xml file, Maven downloads the jar files representing that dependency. You find these jar files in the External Libraries folder of the project.