Re: update snapshots always but do not block when unreachable
Correct. It should simply blacklist the repo and keep going after it determines the repo is unreachable, so it shouldn't really be an issue if you already have everything locally. On Sun, Feb 7, 2010 at 1:30 PM, tbee wrote: > > > > BRIAN FOX-5 wrote: >> >> You can use the offline mode when it's unreachable. This is settable >> by -o from the command line. >> > > But it will not do that automatically? > If unreachable then add -o, if reachable add -U. Correct? > But there is no update-if-reachable? > -- > View this message in context: > http://old.nabble.com/update-snapshots-always-but-do-not-block-when-unreachable-tp27479906p27491105.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: update snapshots always but do not block when unreachable
BRIAN FOX-5 wrote: > > You can use the offline mode when it's unreachable. This is settable > by -o from the command line. > But it will not do that automatically? If unreachable then add -o, if reachable add -U. Correct? But there is no update-if-reachable? -- View this message in context: http://old.nabble.com/update-snapshots-always-but-do-not-block-when-unreachable-tp27479906p27491105.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: update snapshots always but do not block when unreachable
You can use the offline mode when it's unreachable. This is settable by -o from the command line. On Sat, Feb 6, 2010 at 9:03 AM, tbee wrote: > > I'm busy fine tuning our maven (3) based environment. One of the behaviors I > want is this: > - always check if there is a newer version of snapshots in Nexus > - but do not fail when Nexus is unreachable > > The first is done with --update-snapshots, but if the repository is > unreachable (for whatever reason; e.g. you're on a train and the connection > is down), the developer cannot compile anymore because Maven fails with an > error. > > I also tried: > > > kp-snapshots > ... > false > always > > > > But then it does not check for a newer version in Nexus. > > Is it possible to configure: check-and-update-always-if-available? > > > -- > View this message in context: > http://old.nabble.com/update-snapshots-always-but-do-not-block-when-unreachable-tp27479906p27479906.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
update snapshots always but do not block when unreachable
I'm busy fine tuning our maven (3) based environment. One of the behaviors I want is this: - always check if there is a newer version of snapshots in Nexus - but do not fail when Nexus is unreachable The first is done with --update-snapshots, but if the repository is unreachable (for whatever reason; e.g. you're on a train and the connection is down), the developer cannot compile anymore because Maven fails with an error. I also tried: kp-snapshots ... false always But then it does not check for a newer version in Nexus. Is it possible to configure: check-and-update-always-if-available? -- View this message in context: http://old.nabble.com/update-snapshots-always-but-do-not-block-when-unreachable-tp27479906p27479906.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org