Whoops pasted a 'clutching at straws' experiment by mistake.  The
problem is manifest without the offline switch too.  In that case, I
don't understand why it goes to repo1.maven.org when I'm trying to tell
it otherwise in my pom.  Output below.

J.

[EMAIL PROTECTED] eclipse-libraries]$ m2 install
[INFO]
----------------------------------------------------------------------------
[INFO] Building Eclipse libraries
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] maven-install-plugin: resolved to version 2.0-beta-1-SNAPSHOT
from local repository
[INFO] maven-install-plugin: using locally installed snapshot
[INFO] maven-plugin-parent: using locally installed snapshot
[INFO] maven-assembly-plugin: using locally installed snapshot
Downloading:
http://repo1.maven.org/maven2/org/eclipse/libraries/3.1/libraries-3.1.pom
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2
[WARNING]
  ***** Using defaults for missing POM org.eclipse:libraries:pom:3.1
*****

Downloading:
http://repo1.maven.org/maven2/org/eclipse/libraries/3.1/libraries-3.1.zip
[WARNING] Unable to get resource from repository
http://repo1.maven.org/maven2
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Main Error:
  Unable to download the artifact from any repository
  org.eclipse:libraries:3.1:zip

from the specified remote repositories:
  http://repo1.maven.org/maven2
Path to dependency:
        1) net.agentis:eclipse-libraries:pom:1.0-SNAPSHOT
        2) org.eclipse:libraries:zip:3.1



Root error:
  Unable to download the artifact from any repository
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sun Aug 14 13:53:04 EST 2005
[INFO] Final Memory: 1M/3M
[INFO]
----------------------------------------------------------------------------
You have mail in /var/spool/mail/jas


On Sun, 2005-08-14 at 13:13 +1000, Brett Porter wrote: 

> Offline means remote repositories (even file ones) will be ignored.
> The error message is misleading because it seems to indicate it tried
> :)


Reply via email to