[MSHARED-495] Add convenience method to move code into Maven Filtering o Followup added missing test.