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]


Reply via email to