Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1, 2.2
-
None
-
None
Description
If you have a src/main/resources/test.properties with the following content:
param=${param}
userhome=${user.home}
and you define a resources section with filtering enabled for this, then running
mvn process-resources -Dparam=PARAM
yields a target/classes/test.properties where the properties are not filtered (i.e. the file is unchanged).
When you define a <filters><filter>emptyfile</... and create 'emptyfile' with no content,
the resource is properly filtered.