Refactor of GenerateMetadataSourcesMojo so that it now generates two things:
1. A Java source file of constants (Metadata.java)
2. A properties file for filtering of resources containing metadata references