+1 to consider the current behavior as a bug. We should be able to deactivate it easily (and perhaps to have it off by default to activate it only on CI servers) and we should take care to have a real error message explaining the issue and not a classical dependency not found while the artifact is in the local repo.
Arnaud On Mon, Jan 14, 2013 at 9:17 PM, Olivier Lamy <ol...@apache.org> wrote: > Perso I agree this is something we must let user being to disable as it can > cause some pain. > with a sysprops (tru MAVEN_OPTS) or a cli option ? > > > 2013/1/11 "Jörg Hohwiller" <jo...@j-hohwiller.de>: > > Dear maven developers, > > > > first of all thanks for all your energy. Maven has become a great tool > and now > > even complex multi-module-projects can build their site perfectly what > was a > > very long way. > > > > One thing that is really causing pain to me - and many others I talked > to is > > MNG-5181. > > > > The concept of maven was that if an artifact is available in the local > > repository it is directly available to dependency resolution without > Internet > > access. > > Now I have a OSS artifact that was downloaded from central but via > artifactory, > > nexus or archiva by some tweak of the settings and I have to get it once > again > > if I use > > central without a proxy what fails if I am offline. > > > > IMHO this is more of a bug than a feature. > > If we are talking about security one could follow KISS and just use > different > > local repositories through his settings if he cares. > > > > It would at least be very helpful if there was a way to disable this > feature by > > a property (that could be provided in settings.xml). > > I have seen many users that wrote scripts that remove all > _maven.repositories > > files or use sed to replace the repository name inside. > > This is really strange... > > > > Thanks & regards > > Jörg > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > -- ----- Arnaud Héritier http://aheritier.net Mail/GTalk: aheritier AT gmail DOT com Twitter/Skype : aheritier