Hi, Even when I use the Refresh Settings option, Eclipse still tries to connect to the Internet Maven Repo instead of the mirror I defined in my maven settings.xml file.
-----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Achim Abeling Sent: vrijdag 7 september 2007 8:41 To: users@maven.apache.org Subject: Re: Maven plugin for Eclipse Hi, did you refresh the settings in eclipse? It has to be done under Window->Preferences->Maven->Refresh Settings. Best regards Achim De Vleeschauwer Nele wrote: > Hi, > > I have configured my settings.xml in this way and if I execute a maven > command from a dos box, it is using our company's repository. > But if I call a maven command out of Eclipse, it goes directly to the Maven > Repo site. > > > > -----Original Message----- > From: COPPENS, Fabien [mailto:[EMAIL PROTECTED] > Sent: donderdag 6 september 2007 14:14 > To: Maven Users List > Subject: RE: Maven plugin for Eclipse > > > > I believe you can configure this in your maven settings.xml file > via a profile : > > <pluginRepositories> > <pluginRepository> > <id>MyDevRepo</id> > <url> > http://myrepository > </url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > </profile> > > > -----Message d'origine----- > De : De Vleeschauwer Nele [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 6 septembre 2007 14:11 > À : Maven Users List > Objet : Maven plugin for Eclipse > > Hi, > > For the moment I'm using version 3.3 of Eclipse with the Maven plugin > installed. > > Each time when I execute a maven command in Eclipse, Eclipse tries to > download the necessary artiftacts from the Maven Repo site (repo1.maven.org). > How can I configure that Eclipse should use the company's central Maven > Repository to download new artifacts instead of the one on the Maven site ? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- 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]