Environments Maven Plugin

The Environments Maven Plugin is intended to create packages which are ready for different environments or package the appropriate configuration packages which can be used with the application for different environments.

Within the overview you will get a more detailed explanation how Environments Maven Plugin works.

This plugin is a fork of Multienv-maven-plugin and the only reason it exists is because the author of Multienv-maven-plugin wasn’t welcoming the features that were included in this plugin.

  • Ability to exclude environments.
    • Ability to have common files for all environment.
    • Ability to filter those common files with key/value from environment specific files.
    • Ability to set a target path inside jar where the resource files are copied to.
    • Ability to build individual environment.

Goals Overview

The Environments Maven Plugin has two goals:

Usage

General instructions on how to use the Versions Plugin can be found on the usage page.

In case you still have questions regarding the plugin’s usage, just create an issue in the issue tracking system and mark it with question.

If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our issue tracker. When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are welcome, too.