Hi I'm having trouble in downloading snapshots to my local repository from a central repository stored on my company's network. The snapshots are built nightly in the central repository. If I build my application locally, it does not pull down the latest version of the snapshot into my local repository. However, if I delete my local version of the snapshot, when I run a local build it downloads the mssing snapshot from my repository - so I know I'm able to access the repository.
My understanding was that if the timestamp of the version in the central repository is more recent than that of the local version, then the local version would be updated. Is this correct, or does Maven only download to the local repository if the required artifact is missing? My pom.xml file contains: <repositories> <repository> <id>central</id> <name>Name</name> <layout>default</layout> <url>file:\\\J:\\repository</url> </repository> </repositories> <dependency> <groupId>myGroupId</groupId> <artifactId>myArtifact</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency> My settings.xml file is: <settings> <profiles> <profile> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>warn</checksumPolicy> </snapshots> <id>central</id> <name>Remote Repository</name> <layout>default</layout> <url>file:\\\J:\\repository</url> </repository> </repositories> </profile> </profiles> </settings> Thanks in advance for your help. David -- View this message in context: http://www.nabble.com/Problem-downloading-latest-SNAPSHOT-from-central-repository-tf3309925s177.html#a9207052 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]