Chapter 8. Handling Typical Build Requirements

In this chapter, we will cover the following recipes:

  • Including and excluding additional resources
  • Including and excluding source files and folders
  • Configuring Maven to search for plugins
  • Working in offline mode
  • Controlling the verbosity of the Maven output
  • Using the Maven Help plugin
  • Using the Maven SCM plugin
  • Generating changelogs for a site

Introduction

In previous chapters, we have seen how to set up Apache Maven to build software projects. We have also seen how to configure it to analyze code quality and code coverage. We have seen how to generate and publish project documentation.

As we use Apache Maven, we will encounter requirements that are not generic, but at the same time, not rare. In many projects, ...

Get Apache Maven Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.