fixing error reporting for when pom file is missing, and adding deprecated-mojo and deprecated-mojo-param warnings.