It looks like you just want to deploy your snapshot to a repository; in that case you'll want to simply "mvn deploy", without even using the maven-release-plugin (for the reasons Karl Heinz gave)
Le mer. 27 juin 2018 18:30, Ravindranatha Panikar, Renjith < rr...@allstate.com> a écrit : > I am planning to use maven release plugin for automating the release of > our application. > There can be two types of releases. > > Normal Release: > Current code should be tagged. > Pom.xml should get updated to > 'next-version-SNAPSHOT'. > Artifacts should be public to > remote repository. > > SNAPSHOT Release: it can contain one or more hot fixes > which we would like to release on an immediate basis. > Tagging is not > required here. > Pom.xml should not > be updated. > Artifacts should be > published to remote repository with name 'ProjectName- > next-version-SNAPSHOT'.jar' > > I know maven-release-plugin can perform the 'Normal Release'. But is there > any way I can handle the 'SNAPSHOT release'? >