2. Getting Started with Maven
This chapter covers:
- Preparing to use Maven
- Creating your first project
- Compiling application sources
- Compiling test sources and running unit tests
- Packaging an installation to your local repository
- Handling classpath resources
- Using Maven plugins
The key to performance is elegance, not battalions of special cases. The terrible temptation to tweak should be resisted unless the payoff is really noticeable. ~ Jon Bentley and Doug McIlroy
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