jira-importer commented on issue #451: URL: https://github.com/apache/maven-deploy-plugin/issues/451#issuecomment-2771541943
**[Stephen Connolly](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=stephenc)** commented The uniqueVersion that is used by the deploy plugin when deploying -SNAPSHOTs is only determined at the time of deployment. There is currently no way to obtain that information ahead of deployment. The only way I could see of achieving this would be to have a separate goal that allocates this value and can be attached to the validate phase of the lifecycle... if that goal were run then it would override deploy's default behaviour... but it would run the risk of breaking too many things. The correct solution is to just use the release plugin to make a release of the project. Putting a lot of effort in to making -SNAPSHOTs durable is not what -SNAPSHOTs are about -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org