Also the _maven-deploy-plugin_ should be configured to skip deployment of the artifact