Copyright © 2008-2011 Sonatype. Some Rights Reserved.
Abstract
Maven: By Example is an introduction to Apache Maven.
- 1. Copyright
- 2. Foreword: 0.7
- Preface
- 3. Introducing Apache Maven
- 4. Installing Maven
- 5. A Simple Maven Project
- 6. Customizing a Maven Project
-
- 6.1. Introduction
- 6.2. Defining the Simple Weather Project
- 6.3. Creating the Simple Weather Project
- 6.4. Customize Project Information
- 6.5. Add New Dependencies
- 6.6. Simple Weather Source Code
- 6.7. Add Resources
- 6.8. Running the Simple Weather Program
- 6.9. Writing Unit Tests
- 6.10. Adding Test-scoped Dependencies
- 6.11. Adding Unit Test Resources
- 6.12. Executing Unit Tests
- 6.13. Building a Packaged Command Line Application
- 7. A Simple Web Application
- 8. A Multi-module Project
- 9. Multi-module Enterprise Project
- 10. Optimizing and Refactoring POMs
- 11. Creative Commons License
List of Figures
- 5.1. A Plugin Contains Goals
- 5.2. A Goal Binds to a Phase
- 5.3. Bound Goals are Run when Phases Execute
- 5.4. A Maven Project’s Coordinates
- 5.5. Maven Space is a Coordinate System of Projects
- 9.1. Multi-module Enterprise Application Module Relationships
- 9.2. Simple Object Model for Weather Data
- 9.3. Spring MVC Controllers Referencing Components in simple-weather and simple-persist.
- 9.4. Command Line Application Referencing simple-weather and simple-persist
- 9.5. Programming to Interface Projects