If you're working with a snapshot, then I only know of -o to suppress
the update. But there's probably a way to do it, perhaps by specifying
the complete snapshot version number and locking it down.

If they're releases, then you can lock down the version in your pom ie
<version>[1.2.3]</version> and it won't use any newer versions without
you changing the version number.

Wayne

On 1/8/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
Hi all,
 i was wondering how to avoid maven2 uploading latest jars from
repositories....
. question came after i was working on an hibernate/spring app last
weekend....
i read somewhere that someone has changed hibernate DTD last weekend, so i
changed my code accordingly, andthis morning when i ran my tests they broke
again.... so i had to re-fix my code again

is runnign mvn -o the only possibility?

How can i specify that i don't want to download the latest jar for a certain
dependency?

thanks in advance and regards
 Marco



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

Reply via email to