Ah i see what you are saying. Assuming that your developers are using svn ( or other source control ) in a correct manner, the release plugin should sort you out.
http://maven.apache.org/plugins/maven-release-plugin/introduction.html But i guess if you want to make doubley sure you could have a release site and a prerelease site. the developers release to the prerelease site and then someone vets the release and if ok moves it to the release site. On 5/23/06, Plygawko Dariusz (Centrala PZUSA) <[EMAIL PROTECTED]> wrote:
Yes, developing should be done using SNAPHOTs. But still from time to time someone will have to deploy "stable" version (without "-SNAPSHOT") and I after it would like to make this file completly safe and "read-only"(automatically). But I don't know how to... -----Original Message----- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 12:48 PM To: Maven Users List Subject: Re: How to prevent from deploying the same version of artefact twice? Kind of going against the whole idea of maven then. On 5/23/06, Plygawko Dariusz (Centrala PZUSA) <[EMAIL PROTECTED]> wrote: > Is it possible to workaround this problem if I don't want to use snapshots? :) > > > -----Original Message----- > From: Wim Deblauwe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 23, 2006 12:14 PM > To: Maven Users List > Subject: Re: How to prevent from deploying the same version of artefact twice? > > > Use the release plugin, this will automatically change the version to the > next SNAPSHOT version. > > 2006/5/23, dariusz.p <[EMAIL PROTECTED]>: > > > > > > It's possible to overwrite the same version of an artefact (when you > > forget > > to increment version in pom.xml after you changed something in source > > code). > > How to prevent from it? I use ftp server as internal repository (I can > > switch to sth else if it's necessary). I would prefer to fix it on the > > server side instead of pachting deploy-plugin (there is always a chance > > that > > someone will have a wrong version of it). We have a big team of developers > > and I'm affraid we might have some problems with maven (uncontrolled > > overwriting). > > > > Thank You a lot in advance, > > Dariusz > > -- > > View this message in context: > > http://www.nabble.com/How+to+prevent+from+deploying+the+same+version+of+artefact+twice--t1668061.html#a4520449 > > Sent from the Maven - Users forum at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
