1. Introducing Maven
This chapter covers:
- An overview of Maven
- Maven’s objectives
- Maven’s principles:
- Convention over configuration
- Reuse of build logic
- Declarative execution
- Coherent organization of dependencies
- Maven’s benefits
Things should be made as simple as possible, but not any simpler. ~Albert Einstein
Book Navigation
-
0. About this Guide
-
1. Introducing Maven
-
2. Getting Started with Maven
-
3. Creating Applications with Maven
-
4. Building J2EE Applications
- Introduction
- Introducing the DayTrader Application
- Organizing the DayTrader Directory Structure
- Building a Web Services Client Project
- Building an EJB Project
- Building an EJB Module with XDoclet
- Deploying EJBS
- Building a Web Application Project
- Improving Web Development Productivity
- Deploying Web Applications
-
5. Developing Custom Maven Plugins
-
6. Assessing Project Health with Maven
- What does Maven have to do with Project Health
- Adding Reports to the Website
- Configuration of Reports
- Separating Developer Reports from User Documentation
- Choosing which Reports to Include
- Creating Reference Material
- Monitoring and Improving the Health of your Source Code
- Monitoring and Improving the Health of your Tests
- Monitoring and Improving the Health of your Dependencies
- Monitoring and Improving the Health of your Releases
-
7. Team Collaboration with Maven
- The Issues Facing Teams
- Creating a Shared Repository
- Continuous Integration with Maestro
- How to Set up a Consistent Developer Environment
- Creating an Organization POM
- Continuous Integration with Maestro
- Team Dependency Management Using Snapshots
- Creating a Standard Project Archetype
- Cutting a Release
- Summary
-
8. Migrating to Maven
-
A. Resources for Plugin Developers
-
B. Standard Convention