You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info.
regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele <[EMAIL PROTECTED]>: > > Hi, > > I'm just setting up Maven on a developer's workstation. The developer > has no access to the Internet and should therefore always retrieve the > latest artifacts from a repository we've set up at our company (which > has a connection to the internet). > Even when I add the following part to the settings.xml file of the Maven > installation on the developer's machine, each Maven command I execute > from there still tries to connect to the Maven repository on the > Internet. How can this be avoided ? > (The repository I've set up is working fine, since I can connect with an > Internet Explorer to it) > > .... > <profiles> > <profile> > <id>dev</id> > <repositories> > <repository> > <id>central</id> > <name>Maven Central Proxy Repository</name> > <url>http://b2btst04/maven-central-proxy</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>central</id> > <name>Maven Central Proxy Repository</name> > <url>http://b2btst04/maven-central-proxy</url> > </pluginRepository> > </pluginRepositories> > </profile> > </profiles> > <activeProfiles> > <activeProfile>dev</activeProfile> > </activeProfiles> > .... > > ----------------------------------------- > Visit our website! http://www.nbb.be > > "DISCLAIMER: The content of this e-mail message should not be > construed as binding on the part of the National Bank of Belgium > (NBB) unless otherwise and previously stated. The opinions > expressed in this message are solely those of the author and do not > necessarily reflect NBB viewpoints, particularly when the content > of this message, or part thereof, is private by nature or does not > fall within the professional scope of its author." > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester