Maven Filtering and Property Substitution

From NovaOrdis Knowledge Base
Revision as of 18:46, 21 December 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

Maven will replace properties specified in its resource files during the "" phase, or while building an assembly, if filtering is turned on.

In order to be replaced, a property must be specified as such:

... ${property_name} ...

Filtering can be turned on as follows:

  1. Turing on Filtering and Property Substitution during Execution of the Resource Plugin
  2. Turning on Filtering and Property Substitution while Building an Assembly