To make it work, add a pluginManagement entry for whitenoise in the pom file and endow it with an execution having id equal to "default-cli" configured with the desired filterFile value. To simplify things, define a property in the pom file, say whitenoiseFilterFile, and set the filterFile configuration equal to ${whitenoiseFilterFile} in both places. Note that this has the added advantage of making -DwhitenoiseFilterFile= have the desired effect when added to a maven command.
This is a non-issue.
To make it work, add a pluginManagement entry for whitenoise in the pom file and endow it with an execution having id equal to "default-cli" configured with the desired filterFile value. To simplify things, define a property in the pom file, say whitenoiseFilterFile, and set the filterFile configuration equal to ${whitenoiseFilterFile} in both places. Note that this has the added advantage of making -DwhitenoiseFilterFile= have the desired effect when added to a maven command.