Fix build warnings

One code and one license suppression.

Additionally, add Werror to the Maven configuration so it should be loud and clear for everyone.