Get rid of warnings in Maven build.