Maven should have resolved the timestamp-build version to 1.1- SNAPSHOT via maven-metadata.xml, which currently points to 20061110.090015-9

The error is most likely due to a transient network failure or corrupt local metadata... hard to tell which it is based on Maven's default output. Might get some hints by running with -X (or might not).

--jason


On Nov 17, 2006, at 1:16 PM, toby cabot wrote:

On Fri, Nov 17, 2006 at 12:21:37PM -0800, anita kulshreshtha wrote:
Deleting configs directory in .m2 repo and building offline should
cure this.

Anita,

Thanks for the tip.  Unfortunately when I try to build offline I get

[INFO] ---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------- --
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.yoko:yoko-spec-corba:jar:1.0-incubating-M2-SNAPSHOT


So then I got fed up, did an "mvn clean", blew away ~/.m2/repository/*
and tried a "mvn -U" which is supposed to get everything.  But now the
build fails almost immediately with:


[INFO] Scanning for projects...
Downloading: http://people.apache.org/repo/m2-snapshot-repository/ org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1- SNAPSHOT.pom [WARNING] Unable to get resource from repository apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository) Downloading: http://snapshots.repository.codehaus.org/org/apache/ geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom [WARNING] Unable to get resource from repository codehaus-snapshots (http://snapshots.repository.codehaus.org) [INFO] ---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO] ---------------------------------------------------------------------- --
[INFO] Failed to resolve artifact.

GroupId: org.apache.geronimo.genesis.config
ArtifactId: config
Version: 1.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.geronimo.genesis.config:config:pom:1.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
apache-snapshots (http://people.apache.org/repo/m2-snapshot- repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)


... and sure enough there is no such config-1.1-SNAPSHOT.pom file at
those locations.  There are other config-1.1-*pom files with
datestamps in the names but none with SNAPSHOT.  Sorry to take up your
time with this, it's been a while since I've successfully built
Geronimo and I'm looking forward to playing around with 1.2.

Thanks,
Toby

Reply via email to