Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Filtering of webResources works only, if there's at least one <filter>path/to/properties</filter> defined in pom.
So without such a configuration there's no possiblity to build war file with filtering using values specified during build invocation, with -D options (System properties are ignored).
Adding reference to (even empty) file using <filter> element 'solves' the problem and properties defined using -D are used.