IDEA-99237 Property precedence is not the same when filtering resources with Maven or with IntelliJ
(cherry-picked from 0bec0fa)
reviewer: Anton Makeev