Fixing Maven warnings