If you figure out a way to make maven work from unversioned artifacts you will make your project subject to many of the incompatible-version ills that maven's solution for are perhaps the main reason to use maven.
However, I would think the simplest way to force maven to download a particular jar for every build, whether or not the remote repo copy's timestamp has changed or is newer than the local copy (this is what you are asking for, right?) is to write a little script to remove it from the local repo. You might have to run this separately from your main build. You could have a goal to do this on specially marked dependencies.
david jencks
On Feb 2, 2005, at 10:46 AM, Eric Pugh wrote:
Are you sure about this? I believe SNAPSHOT will do exactly what you want. There may (I can't remember) be some logic about checking timestamps or something... But as far as I recall, you should be downloading everytime.
ERic
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:07 PM To: Maven Users List Subject: is there a way to force maven to always download a dependency?
What if some jar files are not versioned (and maybe will never be versioned). Is there a way to force Maven to always go to the remote repositories to resolve dependencies?
I've tried SNAPSHOT, but that does not reload a dependency every time a build is executed.
Thanks for your help. Tom
This message is intended for the recipient only and is not meant to be forwarded or distributed in any other format. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument, or security, or as an official confirmation of any transaction. Putnam does not accept purchase or redemptions of securities, instructions, or authorizations that are sent via e-mail. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of Putnam, LLC (DBA Putnam Investments) and its subsidiaries and affiliates. If you are not the intended recipient of this e-mail, please delete the e-mail.
--------------------------------------------------------------------- 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]
