I am having some issues in pushing some artifacts in nexus. This is happening during the mvn deploy phase and I am getting this error
Error: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default) on project…text: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact
This is happening because during the same mvn deploy step just earlier this artifact was already deployed, and this is on the release nexus repository, so it’s expected to fail.
Do you have an idea why would this happen? (pushing the same artifact twice during the same mvn deploy phase) ?
Everything it’s working fine when pushing in nexus to snapshots path.
Thank you!
tried mvn clean deploy, did not work