liveBook · Manning

Maven

Also called mvn

Apache Maven is a build automation and project management tool that manages dependencies and build lifecycles, especially for Java and other JVM projects.

How 3 Manning books explain it

Spring in Action, Sixth Edition

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

How it is used
Builds and runs a Spring Boot Java application while managing its declared dependencies.
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 you can do after
Operate/configure Maven through pom.xml and Maven Wrapper commands to package, run, and test a Spring Boot application.

Read how Spring in Action, Sixth Edition explains Maven →

Fast by Default

Maven is a Java build automation and dependency-management tool based on convention-driven project configuration.

How it is used
Uses dependency analysis during Java builds to control dependency growth and packaged artifact size.
How deep it goes
Traces dependency paths, unused declarations, archive contents, and native payloads, then stops short of choosing replacements.
Examples
Uses mvn dependency:tree, mvn dependency:analyze, and sorted Spring Boot JAR listings.
What you can do after
Diagnose transitive, unused, oversized, and platform-specific dependencies in Java projects.

Read how Fast by Default explains Maven →

BDD in Action, Second Edition

Maven is a build automation and project management tool widely used for Java projects.

How it is used
Builds and runs Java projects while supporting repeatable automated acceptance-test execution.
How deep it goes
Shows project setup, conventional directories, and verification, but does not detail Maven configuration internals.
Examples
Uses a Serenity Cucumber starter project, train-timetables repository, standard directories, and the `mvn verify` command.
What you can do after
Operate/configure a Java acceptance-testing project and verify its build from the command line.

Read how BDD in Action, Second Edition explains Maven →

Also covered in

What to know first

Related concepts

Questions about Maven

What is Maven?

Apache Maven is a build automation and project management tool that manages dependencies and build lifecycles, especially for Java and other JVM projects.

Which Manning books explain Maven?

Spring in Action, Sixth Edition, Fast by Default and BDD in Action, Second Edition.

What should I know before learning Maven?

Manning books that teach Maven usually introduce Java, Groovy, JAR file and Kotlin first.

What is the difference between Maven and archunit rule?

Apache Maven is a build automation and project management tool that manages dependencies and build lifecycles, especially for Java and other JVM projects. An ArchUnit rule is a programmatic constraint that checks structural or dependency properties of Java code.

What is Maven also called?

Maven is also called mvn.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.