How about: -U Update and use new SNAPSHOT versions. Use new release versions if no specific version is supplied or a version range allows it in the pom .
On Tue, Oct 7, 2008 at 4:46 PM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > The problem is that -U will also update any plugins that have not been > locked down... so it is not just check for new snapshots > > 2008/10/7 Marco Villalobos <[EMAIL PROTECTED]>: > > > > hi, > > > > A dependency requires a specific version of an artifact to be declared > explicitly in the pom. > > > > mvn -U does not "change" the version that is explicitly declared in the > pom. > > > > For this reason, stating that -U will update releases makes people think > that it will actually check if an artifact in the remote repository and and > local repository with the same version name will also be compared by its > timestamp and file size. This is not true though. This only applies to > snapshots. > > > > Hence, it is unclear, but the wording: "Forces a check for new snapshots > on remote repositories." is more clear. > > > > This is just my opinion though, and I am sincerely trying to help. > > > > -M > > > > -----Original Message----- > > From: Stephen Connolly [mailto:[EMAIL PROTECTED] > > Sent: Tue 10/7/2008 2:23 PM > > To: Maven Users List > > Subject: Re: maven repository update. > > > > 2008/10/7 Wayne Fay <[EMAIL PROTECTED]>: > >>> Perhaps the wording: Forces a check for new snapshots on remote > repositories. > >>> > >>> Is better, because the words "updated releases" makes people think the > short version of -U will also "update releases", not just snapshots. > >> > >> But its not just snapshots, its also new versions of releases > (updates)... > > > > And we're back to confusing everyone! > > > > -U will update the snapshots AND if you are using version ranges, it > > will check to see if a newer version can satisfy the ranges. > > > >> > >> Wayne > >> > >> --------------------------------------------------------------------- > >> 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] > > -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com
