liveBook · Manning

Maven

As explained in Spring in Action, Sixth Edition

Maven is a build automation and dependency-management tool for Java projects.

Maven automates builds and manages dependencies for Java projects. A Maven project places application code under src/main/java, tests under src/test/java, and resources under src/main/resources. section 1.2.2

The pom.xml file is Maven’s build specification. It records project identity, the Spring Boot parent, Java version, and dependencies selected through Spring Initializr. section 1.2.2

Taco Cloud project

A Spring Boot Taco Cloud project uses pom.xml for its build, mvnw and mvnw.cmd for wrapper commands, and produces target/taco-cloud-0.0.1-SNAPSHOT.jar after packaging. section 1.2.2

How Spring in Action, Sixth Edition covers it

How deep it goes
Explains project layout, pom.xml configuration, wrapper commands, packaging, running, and testing without detailing Maven internals.
Examples
Uses the Taco Cloud project, pom.xml, Maven Wrapper commands, an executable JAR, and a baseline application test.
What it assumes
Assumes a Java project and introduces Maven structure, the build specification, and wrapper-based commands without requiring Maven installation.
What you can do after
Operate/configure Maven through pom.xml and Maven Wrapper commands to package, run, and test a Spring Boot application.
How it connects
Connects Maven with Spring Initializr, Spring Boot, Java, Gradle, dependency management, executable JARs, and JUnit tests.

Also explained in

Compare how 2 books explain Maven →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Spring in Action, Sixth Edition. The section links point to the parts of the book it draws on.