oups!! You can do this in the settings.xml with the <settings><profiles><profile><repositories><repository><snapshotPolicy/> element
http://maven.apache.org/maven2/maven-settings/settings.html#class_Repository 2005/6/10, Nicolas Chalumeau <[EMAIL PROTECTED]>: > In the http://maven.apache.org/maven2/maven1.html# page it is said : > > Improved SNAPSHOT handling - Snapshots are now checked for updates > only once per day by default - though can be configured to be once per > build, on a particular interval, or never. A command line option can > force a check - making it more like updating from an SCM. > > I didn't try but I think its the -U command line option > > Nicolas > > 2005/6/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi Brett, > > > > These are the steps: > > > > 1. Developer A update the snapshot in his local machine and put it in > > central repository. > > 2. When Developer B run m2 ant:ant he should get the latest snapshot into > > Developer B local re updated by A. But its not happening since Developer B > > local repository has previous version of snapshot (same file names jar,pom > > etc in the artifact). > > > > Maven is printing message saying "There is no update" > > > > Am I missing anyting wehen I install snapshot. Do I need to genarate any > > time stamp any where. > > > > Thanks, > > Pratapam. > > > > -------------------------------------------------------------------- > > 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]
