Maven Filtering and Property Substitution: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
Maven will replace properties specified in its resource files during the "[[process-resources| | Maven will replace properties specified in its resource files during the "[[Maven_Concepts_-_Lifecycle#process-resources|process-resources]]" phase, or while building an assembly, if filtering is turned on. | ||
In order to be replaced, a property must be specified as such: | In order to be replaced, a property must be specified as such: |
Latest revision as of 18:47, 21 December 2016
Internal
- Assembly Module Filtering and System Property Substitution
- Resource Plugin Filtering and Property Substitution
Overview
Maven will replace properties specified in its resource files during the "process-resources" 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: