| | |  | Business & Culture | Home » » Maven: The Definitive Guide | | | | | | | Description: | | 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.
| | | Features: | |
• ISBN13: 9780596517335
• Condition: New
• Notes: BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!
| | | Product Details: | | | Author:
| Sonatype Company | | Paperback:
| 480 pages | | Publisher:
| O'Reilly Media | | Publication Date:
| October 01, 2008 | | Language:
| English | | ISBN:
| 0596517335 | | Product Length:
| 9.16 inches | | Product Width:
| 7.06 inches | | Product Height:
| 1.07 inches | | Product Weight:
| 1.68 pounds | | Package Length:
| 9.0 inches | | Package Width:
| 7.0 inches | | Package Height:
| 1.2 inches | | Package Weight:
| 1.65 pounds | | Average Customer Rating:
| based on 14 reviews |
| | | | Customer Reviews: | |
Average Customer Review:
( 14 customer reviews )
Write an online review and share your thoughts with other customers.
Most Helpful Customer Reviews
11 of 11 found the following review helpful:
Great Introductory and Reference BookDec 02, 2008
By Robert P. Sinner 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.
14 of 15 found the following review helpful:
Just what I wanted to grok Maven fast and deepDec 04, 2008
By Not your average bear
"Cranky but fair"
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.
16 of 18 found the following review helpful:
Good information but examples full of errorsNov 29, 2008
By Mustang 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.
6 of 6 found the following review helpful:
Great product ... needs a little work and fact checkingNov 26, 2008
By D. Graff I have been skirting the edge of Apache Maven for about 3-4 years now. Maven 1.x was an utter disaster for me to wrap my head around. Maven 2.x is a whole different animal that rapidly allows a developer to begin and configure a project.
The great thing about this book is the explanation of the property management, dependency management & configuration, and overall interrelation of the Project Object Model (POM).
The down side is the coverage on external settings and profiles (settings.xml and profiles.xml) ... They don't work the way described in the book.
Overall great book to have on the shelf in the library.
1 of 1 found the following review helpful:
good enoughAug 14, 2011
By Lund Wolfe 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.x (and vast majority of 3.x which is very little changed from 2.x) and as of this date there are still no other decent books on Maven. If you are doing real world apps, expect to read the whole book before creating new Maven projects or converting ant projects. You will need to supplement the book with google and Maven documentation (such as it is) and there will be some pain.
See all 14 customer reviews on Amazon.com
| | |
|