Maven warnings solved