> > How is this any different than doing an install of a 
> > SNAPSHOT and the 
> > build fails somewhere? You now a "polluted" local repo.
> 
> A released version is never replaced even if the remote 
> server has an "updated" version. The release is final, once and only.

A released version definately can be replaced. If a perform fails and
you run it again, you will replace released artifacts on your repo. This
can happen if an error occurs during mvn:site, which isn't run during a
prepare. You can protect against this by configuring your repo manager
to not allow re-deploys though.

> 
> > Or even better, what happens if the release:perform fails. You now 
> > have partially released modules on your maven repo.
> 
> They are not put into the local repo.

They are very easily put in your local repo once they are up on your
maven repo. Of course, the pollution is worse since anyone can now
access the partially released artifacts.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to