Book Image

Apache Maven 2 Effective Implementation

By : Brett Porter, Maria Odea Ching
Book Image

Apache Maven 2 Effective Implementation

By: Brett Porter, Maria Odea Ching

Overview of this book

<p>By building up a sample application, this book guides developers painlessly through building a project with Maven. This book shows you how to combine Maven with Continuum and Archiva, which will allow you to build an efficient, secure application and make developing in a team easy.<br /><br />You may already be aware of the pitfalls of 'integration hell' caused by changed code being submitted to repositories by a number of developers. When you implement Continuum in your build, you can easily perform continuous integration, avoiding timely rework and reducing cost and valuable time. You will be able to use Maven more efficiently in a team after you learn how to set up Archiva, Apache's repository manager.<br /><br />It's easy to quickly get to work with Maven and get the most out of its related tools when you follow the sequential coverage of the sample application in this book. A focus on team environments ensures that you will avoid the pitfalls that are all too common when working in a team. Soon, by learning the best practices of working with Maven, you will have built an effective, secure Java application.</p>
Table of Contents (21 chapters)
Apache Maven 2 Effective Implementation
Credits
About the Authors
About the Reviewers
Preface
Free Chapter
1
Maven in a Nutshell
Index

Review: Example application


Even though we have only lightly touched on Maven's site and report capabilities to this point, we have already achieved quite some functionality:

  • Setting up a basic site for developers with shared information about the project's code and development

  • Including some simple reports in Javadoc and the source cross reference to the developer's site, aggregated across all of the Java modules

  • Creating a separate site for user-oriented documentation for the project

  • Applying a skin to both of the sites

  • Configuring the Surefire and EMMA HTML reports to be run from the command line or integrated into the developer's site if desired

As we now move to enhance the project, we will be focusing on the modules subdirectory, enhancing both the developer-oriented site through reports, and the build itself through the addition of enforcement based on these reporting tools.