Thanks for the quick response. I had been doing a "install" into the common repository so changed it to do a "deploy" and thus get
[EMAIL PROTECTED] 1.0-SNAPSHOT]$ ls -al *.jar -rw-r--r-- 1 operations users 28192 Jan 21 19:04 jsec-1.0-20070122.030418-1.jar -rw-r--r-- 1 operations users 16629 Jan 21 19:04 jsec-1.0-20070122.030418-1-sources.jar -rw-r--r-- 1 operations users 28192 Jan 21 19:04 jsec-1.0-SNAPSHOT.jar -rw-r--r-- 1 operations users 16629 Jan 21 19:04 jsec-1.0-SNAPSHOT-sources.jar So this should work, however now I have the problem that the pom file is getting truncated and is thus corrupt and get compile errors for an invalid pom file In the common repository: -rw-r--r-- 1 operations users 5211 Jan 21 19:04 jsec-1.0-SNAPSHOT.pom but in my local repository: -rw-r--r-- 1 operations users 4096 Jan 21 19:27 jsec-1.0-SNAPSHOT.pom ???? ----- Original Message ---- From: Wendy Smoak <[EMAIL PROTECTED]> To: Maven Users List <[email protected]> Sent: Sunday, January 21, 2007 6:14:20 PM Subject: Re: unable to get latest SNAPSHOT jars On 1/21/07, Lee Bieber <[EMAIL PROTECTED]> wrote: > I'm having the exact same problem, we have a dependency on a jar file that > has the version "1.0-SNAPSHOT" but it is not being automatically updated in > my local repository when it changes in our common repository. I have the > following in our pom.xml file: ... > Any ideas or updates on this problem?? If you are deploying with uniqueVersion=false, Maven 2.0.4 will not retrieve a new version of the snapshot. You'll have to delete it from your local repo to force an update. What does it look like in the remote repo? -1.0-SNAPSHOT.jar, or something like -2.0-20070119.230232-7.jar ? (Or check <distributionManagement> for the module you're trying to use. uniqueVersion defaults to true, so you would have to explicitly set it to false.) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/
