Removed Java and Maven warnings.