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]

Reply via email to