Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

For too long, developers have worked on disorganized application projects, where every part seemed to have its own build system, and no common repository existed for information about the state of the project. Now there's help. The long-awaited official documentation to Maven is here. Written by Maven creator Jason Van Zyl and his team at Sonatype, Maven: The Definitive Guide clearly explains how this tool can bring order to your software development projects. Maven is largely replacing Ant as the build tool of choice for large open source Java projects because, unlike Ant, Maven is also a project management tool that can run reports, generate a project website, and facilitate communication among members of a working team. To use Maven, everything you need to know is in this guide. The first part demonstrates the tool's capabilities through the development, from ideation to deployment, of several sample applications -- a simple software development project, a simple web application, a multi-module project, and a multi-module enterprise project. The second part offers a complete reference guide that includes:

  • The POM and Project Relationships

  • The Build Lifecycle

  • Plugins

  • Project website generation

  • Advanced site generation

  • Reporting

  • Properties

  • Build Profiles

  • The Maven Repository

  • Team Collaboration

  • Writing Plugins

  • IDEs such as Eclipse, IntelliJ, ands NetBeans

  • Using and creating assemblies

  • Developing with Maven Archetypes

Several sources for Maven have appeared online for some time, but nothing served as an introduction and comprehensive reference guide to this tool -- until now. Maven: The Definitive Guide is the ideal book to help you manage development projects for software, web applications, and enterprise applications. And it comes straight from the source.

Subscriber Reviews

Average Rating: 3.7 out of 5 rating Based on 10 Ratings

"Revised version available from sonatype.com" - by natto lover on 10-FEB-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I don't have enough experience in maven to judge how much the contents of this book is outdated, as other reviewers mention.

However, I did notice that the download urls of the example files are invalid now, and the authors have reorganized the contents of this book into two books, which are both available from sonatype's web site.

I recommend reading those versions.

Report as Inappropriate

"Easy to read and sufficient in itself" - by Sridhar on 30-JAN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a very well written and easy to understand book on Maven. I read the first 6 chapters and that was suffcient for all maven activities, I needed since last 3 years. I strongly recommend this book.
Report as Inappropriate

"Good, but out-of-date" - by Anonymous on 29-AUG-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This book is a good description of Maven.  However, as other reviews have pointed out, this book is showing its age.  For more up-to-date information, look at the Maven books on the sonatype.org website.  This book is essentially a combination of those two books.
Report as Inappropriate

"Maven: The Definitive Guide" - by Anonymous on 02-AUG-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Many erratas in this book.

Report as Inappropriate

"If this is definitive, you know you're in trouble" - by dasmb on 15-NOV-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Maven's biggest problem is the rapidity with which it is evolving outward.  With Maven, there is a simple, declarative solution to every problem...unfortunately, the tool's broad ambition means that it's solving way more problems than any single book can handle.

This book does its best, but after only 2 years it's so far out of date that I found it a useful jump-off point only.  I find myself combing the docs far more frequently than I find the answers in this book.  If the effort put into this book is to be sustained, a small revision every 6 months will be required.

However, this book does feature the most cogent description I've found: "Maven is OPINIONATED."

Report as Inappropriate

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Maven: The Definitive Guide

  • Catalog Page

Visit the errata page for Maven: The Definitive Guide

  • Errata

Download the supplemental electronic content for Maven: The Definitive Guide

  • Supplemental Content