OtherActive

Maven

Guide to testing development versions of Maven plugins using snapshot repositories and configuration options.

Open source page

Product features

Product features

Build Lifecycle

Maven defines a standard build lifecycle with phases like validate, compile, test, package, verify, and deploy.

Build Plugins

Build plugins are executed during the build and configured in the build element.

Community Contribution

Guidance on contributing to the Maven project, including mailing lists, issue reporting, and patches.

Dependency Management

Maven manages project dependencies through the POM, including transitive dependencies and version mediation.

Developer Conventions

Conventions for code style, git usage, and releasing, to be followed by contributors and developers.

Help Goal

Most plugins provide a help goal to display plugin and parameter descriptions.

Parameter Mapping

Map configuration elements to Mojo fields or setters, supporting value objects, complex objects, and collections.

Plugin Configuration

Configure build and reporting plugins via POM elements such as configuration, executions, and reportSets.

Plugin System

Maven's functionality is extended via plugins, which can be written in Java and bound to lifecycle phases.

Reporting Plugins

Reporting plugins are executed during site generation and configured in the reporting element.

Settings Profile Support

Use profiles in settings.xml to enable snapshot repositories without modifying project files.

Site Generation

Maven can generate project documentation sites using APT or XDoc formats.

Snapshot Plugin Testing

Test development versions of plugins by adding snapshot repositories to your project.

Update Policy Configuration

Configure Maven to automatically check for updates at specified intervals.