The only way I know is to configure your repository manager. For example, see the Nexus FAQ,
https://docs.sonatype.com/display/NX/Nexus+FAQ

houzecl wrote:
Hi all,

Maven allows us to release artifacts properly with the release plugin.

However, nothing prevents to use the deploy plugin directly (and several
times)  on the same project with version x.y.z (I am not talking of
x.y.z-SNAPSHOT)

Is there any configuration that could be used for the deploy plugin to warn
the user if the artefact already exists on the target repository ?

Thanks,

Christian-Luc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to