Maven: The Definitive Guide and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.13 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Maven: The Definitive Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Maven: The Definitive Guide [Paperback]

Sonatype Company
4.2 out of 5 stars  See all reviews (20 customer reviews)

List Price: $34.99
Price: $20.24 & FREE Shipping on orders over $25. Details
You Save: $14.75 (42%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Friday, June 21? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $20.24  
Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.
There is a newer edition of this item:
Maven: The Definitive Guide Maven: The Definitive Guide
Sign up to be notified when this item becomes available.

Book Description

October 1, 2008 0596517335 978-0596517335 1

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.


Frequently Bought Together

Maven: The Definitive Guide + Jenkins: The Definitive Guide + Version Control with Git: Powerful tools and techniques for collaborative software development
Price for all three: $77.96

Buy the selected items together


Editorial Reviews

About the Author

Sonatype Company is Jason Van Zyl's company and pretty much the center of the Maven universe. Jason Van Zyl is the inventor and lead developer of Maven.


Product Details

  • Paperback: 470 pages
  • Publisher: O'Reilly Media; 1 edition (October 1, 2008)
  • Language: English
  • ISBN-10: 0596517335
  • ISBN-13: 978-0596517335
  • Product Dimensions: 7 x 0.9 x 9.2 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (20 customer reviews)
  • Amazon Best Sellers Rank: #44,701 in Books (See Top 100 in Books)

More About the Author

i'm a writer and a programmer, I live in Evanston, IL, and I generally write books about technology infrastructure. I'm currently focused on books about novel build technologies such as Gradle and how these technologies intersect with the constantly evolving set of technologies and languages that are involved in today's systems.

Things I'm currently interested in vert.x, the maturation of tools like cfengine, chef, and puppet. NoSQL and a backlash to map/reduce. The evolution of the relational database. It's an interesting time for the industry.

Customer Reviews

Most Helpful Customer Reviews
30 of 32 people found the following review helpful
3.0 out of 5 stars Good information but examples full of errors November 29, 2008
Format:Paperback
None of the books/documents I've read until now explains Maven like this book. The style and the approach of showing through examples are great. But the example codes are full of errors. It shadows the quality of the maerial.

This is a Maven book right? Not a java book. So if you want to learn the details of Maven in an iterative approach you'd follow the examples. It's best when you don't use an IDE as all IDEs to some degree hide Maven details and you cannot get the essence of it without writing mvn at the command line. The problem is the sample code are full of stupid errors. As if they were not even compiled. Such as passing String to a method expecting and integer, wrong package names. Things that really should have not been in the book.

Therefore I rate this 5 star book as 3 because of the loss of time it caused to me fixing and submitting errata.
Was this review helpful to you?
17 of 18 people found the following review helpful
5.0 out of 5 stars Just what I wanted to grok Maven fast and deep December 3, 2008
Format:Paperback
I love the book, and I'm not easy to please. I'm a very experienced developer (25+ years) and have worked with Java and XML since 1996. I'd been skeptical about Maven based on earlier versions and bad press, but felt it was time to take a look at Maven 2 and try it out for a client that needed consistent organization of their projects. This book turned out to be ideal in that it is clear, detailed, and unusually well-written. It's filled with realistic Java examples and just enough pom.xml files to learn from without having to leave the page. It pulls off that rare trick of introducing, demonstrating usage, and providing a really knowledgeable voice for in-depth topics.

The first few chapters quickly got me to the point where I was comfortable using Maven on straightforward projects, and the later chapters provide reference-quality info on subjects like running a Repository Manager, Writing Plugins, and details on various settings -- I'll turn to these as I need them, but I trust that they will be valuable if I do.

So I recommend this highly for anyone who wants to know more or needs to implement Maven. There's a desperate need for this because the online resources just weren't good enough to entice me in. But this did, and I'm glad. Tim O'Brien's honest voice and obvious experience are a terrific asset to Maven's broader adoption.
Was this review helpful to you?
11 of 11 people found the following review helpful
5.0 out of 5 stars Great Introductory and Reference Book December 2, 2008
Format:Paperback
Previously the only reference book I could find on maven 2 was BetterBuildsWithMaven. Which was also a good book. However I think that this is a better introductory reference. I think that this book is indispensible for anyone using maven. This book is available online at the sonatype website as well. I like the discussion of the Repository Manager Nexus. We were previously using Archiva and Nexus has worked better. The book does a good job of walking you through simple to complex projects to understand the how to setup projects well in Maven, and learn simple to advanced maven concepts.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Very good explanations about Multiple Module Projects November 12, 2012
Format:Kindle Edition|Amazon Verified Purchase
When I saw the less than 5 star rating I really wanted to add my input. I particularly appreciated the content starting in chapters 6 and 7, about having a hierarchy of related projects, mixing packaging types of pom, jar and war files, reviewing the components of web apps and how they're packaged into Maven, etc.

Our team has been working with Maven for 6 months now and I had previously read quite a bit online, plus purchased a couple other Maven books. For where I'm at in my learning curve, this book fits what I needed. I think somebody new to Maven could still follow it; it's not quite a "recipe" oriented as some books, but really clear writing and explicit steps.

The book is now a few years old, but these tools and concepts are still relevant today (Q4 2012). If they do an update, I'd suggest a bit more in Chapter 6 about their web.xml file (reason for multiple targets, review the file-class-url mappings, etc.), though none of those issues prevent the chapter from being useful, and is really more of a review for folks who haven't put together a lot of webapps using any framework.
Was this review helpful to you?
5 of 6 people found the following review helpful
3.0 out of 5 stars good enough August 14, 2011
Format:Paperback|Amazon Verified Purchase
The book is not well written. It is not interesting or easy to glean information. It doesn't distinguish fundamental info from extraneous stuff you may never need. I was constantly having to reread paragraphs that you can only interpret if you already know the material. The index is not very helpful in locating the information you need when starting out.

You really need to read the entire book before even starting your first small Maven project. I read books thoroughly, if not directly from first to last chapter, but in this case I needed to get up to speed on Maven quickly. This book was terrible for learning on an as-needed basis. Part of this is the nature of Maven. Even relatively simple real world webapp, swing, client-server projects will require multi-modules, an assembly (for custom deployable end product), and properties, and profiles, but even something as simple and basic as naming your output artifact jar or war to fit your current project expectations is scattered throughout later chapters. Most of the stuff I needed (and found via google and Maven documentation) I later found in this book somewhere by the time I finished it.

The information on using plugins is particularly weak. You can get by using almost all built in plugins, but this is a significant part of the power of Maven and many Maven users will use plugins for almost everything.

The Nexus repository chapter is good and has all you need. You will have to wade through it to get the little bits you really need for your project pom to pull dependencies, deploy snapshots and production artifacts to Nexus, and manually add 3rd party jars to your Nexus.

I'd like to give less than three stars but the book is pretty complete, the sample code is good, it is up-to-date for 2.
... Read more ›
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Good book, please don't expect all the answers
This book is a good start for a great toolkit.

Some people read books cover to cover - not me. Read more
Published 2 months ago by Tracklead
4.0 out of 5 stars Good book.
It's a great book. Everything you need to know about Maven (installation, configuratiion, customization). The best book about Maven that I know.
Published 2 months ago by Frederico Oliveira de Paula
5.0 out of 5 stars Ideal for begginers
I humbly think that this is the ideal book for beginners. It begin explaining what is maven and how it works, then it follows by explaining how to make the simplest projects and... Read more
Published 3 months ago by Raul Luna Rodriguez
4.0 out of 5 stars Very comprehensive book
This book is a very comprehensive guide to learning Maven. A vast majority of the developers using Maven will not want to know everything in this book, but should know most of... Read more
Published 5 months ago by Mike!
5.0 out of 5 stars Maven for an Ant guy
I was (and still am) an Ant user. But i wanted to get a good grasp on Maven and this book did the job perfectly.
Published 7 months ago by Andre C. Bandarra
4.0 out of 5 stars a tale of two books
The beginning half of the book goes into what i feel is an excessive amount of detail on developing a web app. The rest of the book was great. Read more
Published 11 months ago by Jeanne Boyarsky
4.0 out of 5 stars Simple & Crisp - Excellent Book
I am new to Maven; this book gave a good introduction. I was in a position to create a multi dependency ear project and this has good source of explanation and examples from their... Read more
Published 18 months ago by Murali Manohar
5.0 out of 5 stars All programming books should be like this.
This is an excellent book. I think the author is clear, informative, and explains all the small stuff that's necessary to get the examples working. Read more
Published 22 months ago by Mark Twain
5.0 out of 5 stars Excellent Maven Book
I needed to learn Maven quickly, and this book was perfect for my needs. I spent a weekend working through the examples and came away with a good knowledge of Maven. Read more
Published on July 7, 2010 by Colin Sulin
5.0 out of 5 stars An excellent Maven reference book.
Great examples with precise cases. Although a small chapter at the end but very informative for Nexus.
Published on March 30, 2010 by Sultan Mahmood
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category