> > My problem is that I am building from sources. My local repository is
> > *always* the same, if not newer, than any other. So why does maven
> > go looking elsewhere for Isis snapshots? ;)
> Sorry for going round the loop on this, but what was the problem with 
> using the -o (--offline) flag?

Occaisionally some *other* package needs to be updated. In this 
case, I currently run mvn twice: once without -o to allow other 
downloads - which I cancel when it starts hunting for isis snapshots. 
Then with -o .... ;)

Otherwise, no problem.

> A better option might be to redefine the repository definition in a 
> profile, and then enable using -P flag, something like:
> 
> <profiles>
> <profile>
> <id>offline</id>
> 
> You could then use "-P offline" to enable this profile.    This should work.
> 

Sounds like a much safer idea! Thanks.

Kevin

Reply via email to