In the pom file, there is an option to choose the package type. Choosing package type other than "pom", like jar, enforcing the deployer to deploy the project jar file. The maven plugin can receive goals like "verify" and "versions:set" which doesn't compiles the project. Attempting to append the missing jar file causes null pointer exception.