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]