Hi, > I’m trying to deploy a snapshot version of the artifact for the first time. > Maven deploy fails with error “could not find artifact in the remote > repository” > Obviously the artifact was never deployed in the remote repository, > so it is not available in the remote repository. > > Tried with various versions of “deploy” plugin, the issue happens in > all of them. > > How to deploy a snapshot version on an empty repository? > > > $mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy
You try to deploy something that has to be built first, a step that is skipped in your case. Try "mvn deploy" instead. HTH Thorsten