I think it shouldn't be hard to fix. Just add a parameter wich is read
in the Mojo to check wheter or not the validation should be enforced..
I am sure it wouldn't take you long to submit a patch for this
problem.

On 3/6/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> Hi Yann,
>
> Yann Andenmatten wrote on Monday, March 06, 2006 2:53 PM:
>
> > Hi,
> >
> > I'm surprised that we can deploy a jar again and again without even a
> > warning (at least using a deploy:deploy-file). My wish would
> > have been to
> > receive an error if an artifact is already present in the remote
> > repository (with the same version). I can get this behavior
> > if I set the
> > jar file read-only. But I didn't find a option in the deploy
> > plug-in to
> > force this flag during the deploy process.
> >
> > In our company, several groups use maven. Some of them are
> > only using the
> > repository as a mean to share their jars. They uses the
> > deploy:deploy-file command. The risk is that they override a previous
> > version by accident.
> >
> > Does anyone face the same problem?
>
> That happened to me too. I've been also overwriting released artifacts by 
> accident, when I forgot to reset the version to SNAPSHOT (where this is the 
> desired behaviour). OTOH I also had to redo a release because of some nasty 
> circumstance. So it would be good to enable the overwrite of releases at 
> least by setting a system property.
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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

Reply via email to