PacktLib: Apache Maven 2 Effective Implementation

Apache Maven 2 Effective Implementation

Credits

About the Authors

About the Reviewers

Preface

Maven in a Nutshell

A whirlwind tour

Summary

Staying in Control with Archiva

Importance of a repository manager

Installing Archiva

Separating your repositories

Hooking up Maven with Archiva

Searching for artifacts in Archiva

Deploying from Maven

Deploying via web form

Summary

Building an Application Using Maven

Introducing the sample project

Setting up a multi-module build

Creating an organization POM

Configuring basic reports

Preparing for non-code modules

Adding a documentation module

Distributing the application

Summary

Application Testing with Maven

Types of testing in Maven

Working with tests

Integration, functional, and other testing

Summary

Reporting and Checks

Review: Example application

Constructing the developer's site

Maven reports

Setting up quality checks

Reporting and quality tools

Reporting best practices

Tying it all together

Summary

Useful Maven Plugins

The Remote Resources plugin

The Build Number plugin

The Shade plugin

The Build Helper plugin

The AntRun plugin and scripting languages

The Exec plugin

Summary

Maven Best Practices

Preparing the development environment

Keeping it simple

Build portability

Build reproducibility

Summary

Continuum: Ensuring the Health of your Source Code

Knowing when your build breaks

Setting up Continuum

Using Continuum

Summary

Continuum in Depth

Releasing projects

Build pipelining and multiple build definitions

Parallel builds

Distributed builds

Maintenance

Summary

Archiva in a Team

Roles and permissions

Introducing repository groups

RSS feeds—discovering new artifacts in your repository

Deleting artifacts in your repository

The Archiva reports

The Archiva consumers

Summary

Archetypes

What are Maven archetypes?

Generating projects

Common archetypes

Writing a new archetype

Managing catalogs

Summary

Maven, Archiva, and Continuum in the Enterprise

Configuring security

Interfacing with other tools in the enterprise

Summary

Troubleshooting Maven

Troubleshooting Maven

Troubleshooting Maven

Troubleshooting Maven

Troubleshooting Maven

Troubleshooting Maven

Recent Maven Features

Recent Maven Features

Recent Maven Features

Recent Maven Features

Recent Maven Features

Migrating Archiva and Continuum Data

Migrating Archiva and Continuum Data

Migrating Archiva and Continuum Data

Index