-
Chapter 1 Maven Jump-Start
-
Installing Maven
-
Starting a New Project
-
Using Maven Behind a Proxy
-
Compiling and Testing a Project
-
Working with the Project Object Model
-
Listing Available Goals
-
Producing Debug Information
-
Adding a Dependency
-
Depending on Snapshots
-
Performing an Offline Build
-
Using the Maven Console
-
Generating an Eclipse Project
-
Using the Eclipse Maven Plug-in
-
Generating an Ant Build File
-
Migrating a Project from Ant to Maven
-
Generating Project Documentation
-
Telling Maven About Your Team
-
Pointing Maven at Source Control
-
Creating a Project Web Site
-
Customizing Site Reports
-
-
Chapter 2 Customizing Maven
-
Installing a Plug-in from a Remote Repository
-
Customizing Plug-in Behavior
-
Writing a Custom Goal
-
Defining a preGoal
-
Defining Custom Properties
-
Running the Program from a Custom Goal
-
Defining the Default Goal
-
Overriding Properties
-
Enumerating Dependencies
-
Customizing Site Look and Feel
-
Using the FAQ Plug-in
-
-
Chapter 3 Multiproject Maven
-
Dividing and Conquering
-
Using POM Inheritance
-
Writing the Quote Generator
-
Sharing Artifacts Through the Local Maven Repository
-
Using the WAR Plug-in
-
Using the Jetty Plug-in to Start a Web Application
-
Executing HtmlUnit Tests
-
Building All Subprojects Simultaneously
-
Creating Custom Top-Level Goals
-
Generating a Multiproject Web Site
-
-
Chapter 4 Project Reporting and Publishing
-
Reporting on Project Content
-
Reporting Testing Status
-
Reporting on Code Best Practices
-
Reporting on Duplicate Code
-
Generating a Quality Dashboard
-
Tracking Project Activity
-
Tracking Project Changes
-
Publishing Maven Artifacts
-
Announcing a Project Release
-
Reporting Project Releases
-
Publishing a Project Web Site
-
-
Chapter 5 Team Collaboration with Maven
-
Sharing a Maven Installation
-
Creating Your Own Remote Maven Repository
-
Setting Up a Continuous Integration Build
-
Using Binary Dependencies
-
-
Chapter 6 Writing Maven Plug-ins
-
Writing a Simple JAR Execution Plug-in
-
Installing a Plug-in from Its Sources
-
Testing a Plug-in
-
Writing a Complex Plug-in: The Logifier
-
Writing a Logging Aspect Using AspectJ
-
Using Plug-in Resources
-
Implementing the Logifier Build Logic
-
Executing the Logifier Plug-in
-
Adding Dynamic Dependencies
-
Writing a Plug-in That Generates Reports
-
Creating an XDoc File Using JSL
-
Publishing a Plug-in to a Remote Repository
-
-
Appendix A Maven Plug-ins
-
Plug-ins Reference
-
Auto-Downloading a Plug-in
-
Installing a Plug-in Manually
-
Depending on a Plug-in
-
-
Colophon
- Title:
- Maven: A Developer's Notebook
- By:
- Vincent Massol, Timothy M. O'Brien
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- June 2005
- Ebook Release:
- February 2009
- Pages:
- 224
- Print ISBN:
- 978-0-596-00750-8
- | ISBN 10:
- 0-596-00750-7
- Ebook ISBN:
- 978-0-596-10500-6
- | ISBN 10:
- 0-596-10500-2
About the Authors
In addition to being an active member of the Maven development team, Vincent Massol is the creator of the Jakarta Cactus framework. After having spent four years as a technical architect on several major projects, Vincent is now the cofounder and CTO of Pivolis, a company specializing in applying agile methodologies to offshore software development. He lives in the City of Light, Paris, France.
Timothy O'Brien is an independent consultant who lives and works in Evanston, IL, just outside Chicago. Tim is currently focused on helping clients adopt and evaluate open source software. He prefers Emacs to vi. Tim discovered programming on a TRS-80, and went on to study (and subsequently forget) electrical engineering at UVA. In his free time, Tim likes to sleep, study music, build toys with microcontrollers, and participate in open source projects. Tim contributes to the documentation and implementation of various projects at the ASF.
Colophon
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects.
The Developer's Notebook series is modeled on the tradition of laboratory notebooks. Laboratory notebooks are an invaluable tool for researchers and their successors.
The purpose of a laboratory notebook is to facilitate the recording of data and conclusions as the work is being conducted, creating a faithful and immediate history. The notebook begins with a title page that includes the owner's name and the subject of research. The pages of the notebook should be numbered and prefaced with a table of contents. Entries must be clear, easy to read, and accurately dated; they should use simple, direct language to indicate the name of the experiment and the steps taken. Calculations are written out carefully and relevant thoughts and ideas recorded. Each experiment is introduced and summarized as it is added to the notebook. The goal is to produce comprehensive, clearly organized notes that can be used as a reference. Careful documentation creates a valuable record and provides a practical guide for future developers.
Colleen Gorman was the production editor and proofreader, and Audrey Doyle was the copyeditor for Maven: A Developer's Notebook . Adam Witwer and Mary Anne Weeks Mayo provided quality control. Johnna VanHoose Dinse wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. Karen Montgomery produced the cover layout with Adobe InDesign CS using the Officina Sans and JuniorHandwriting fonts.
Edie Freedman and David Futato designed the interior layout. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Adobe Boton; the heading font is ITC Officina Sans; the code font is LucasFont's TheSans Mono Condensed, and the handwriting font is a modified version of JuniorHandwriting made by Tepid Monkey Foundry, and modified by O'Reilly. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. This colophon was written by Colleen Gorman.
