SPRING CONCEPTS
Maven
Spring Concepts / Maven
Maven builds Java projects and resolves their dependencies.
Understand the idea
pom.xml defines project coordinates, dependencies, properties, and plugins. Maven compiles source, runs tests, and packages artifacts according to its lifecycle. The Boot plugin creates an executable application JAR.
A concrete example
mvn test
mvn clean package
java -jar target/todo-rest-1.0.0.jarIn the application
Every backend includes a complete pom.xml and targets Java 21. First-time dependency resolution requires repository connectivity.
The JDK Maven reports determines which compiler it uses. An installed JDK is not enough if JAVA_HOME points elsewhere.