If you are overriding the ibiblio repositories, set the id of both to "central". You may also need to use file:///mypath.
A plugin repository is where a plugin is searched for, a normal repository is for all other dependencies and extensions. On 11/8/05, Eric Parpal <[EMAIL PROTECTED]> wrote: > >Offline actually avoids all remote repositories (even file ones, as > >they might be on a shared drive). > But I had said that offline=false. So, I don't understand why my defined > repository is ignored. > > >On 11/8/05, Eric Parpal <[EMAIL PROTECTED]> wrote: > > > I tried with offline=false and file:///mypath/ibiblio/maven2 (in > > > settings.xml and in the command line). > So, assuming that I don't set offline to true, what is wrong with my > settings : > <profiles> > <profile> > <repositories> > <repository> > <id>repo1</id> > <name>repo1</name> > <url>file:/mypath/ibiblio/maven2</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>repo2</id> > <name>repo2</name> > <url>file:/mypath/ibiblio/maven2</url> > </pluginRepository> > </pluginRepositories> > <id>MyProfile</id> > </profile> > <activeProfiles> > <activeProfile>MyProfile</activeProfile> > </activeProfiles> > > Moreover, what's the difference between a <repository> and a > <pluginRepository> ? > > Thanks. > > _________________________________________________________________ > 10 Mo pour vos pièces jointes avec MSN Hotmail ! > http://www.imagine-msn.com/hotmail/default.aspx?locale=fr-FR > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
