It's depending of your server.
If you are using an Unix-like server, you can certainly set the rights to
readonly in the artifact plugin for maven 1, or in the deploy plugin in
maven 2.

M2 :
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
M1 : http://maven.apache.org/maven-1.x/plugins/artifact/properties.html

Arnaud


pkernevez wrote:
> 
> Hello,
> 
> I'm looking for a mean that block (or ask) the deployement of a released
> artifact if a released version already exist
> in the remote repository.
> This is for avoiding the erasing of an already relased version in case I
> forgot to increment the version of the Maven
> project.
> 
> Thanks,
> Philippe
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Deploy-an-existing-artifiact...-tf3192717s177.html#a8869230
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to