Removing @Provider as the filter is dynamically registered
Changing maven-compiler-plugin to 3.1