Aman,
It isn't just you. This is a problem that began yesterday due to some
changes in one of our dependencies which should not have happened.
See: http://permalink.gmane.org/gmane.comp.lang.groovy.user/25859
and: http://jira.codehaus.org/browse/MEV-550
I'm trying to find a work-around until this gets fixed.
Joe
Aman Nanner/MxI Technologies wrote:
Hi,
I am trying to build Geronimo 2.0.2, and I just recently started getting
the following error even though I successfully built it once before. Would
this be due to some kind corruption in my build environment?
-------
.....
[exec] [WARNING] Unable to get resource
'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from repositor
y java.net (http://download.java.net/maven/1/)
[exec] Downloading:
http://people.apache.org/repo/m2-incubating-repository//org/apache/yoko/yoko-spec-corba/1.0-inc
ubating-r557035/yoko-spec-corba-1.0-incubating-r557035.pom
[exec] [WARNING] Unable to get resource
'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from repositor
y apache-incubator
(http://people.apache.org/repo/m2-incubating-repository/)
[exec] Downloading:
http://repo1.maven.org/maven2/org/apache/yoko/yoko-spec-corba/1.0-incubating-r557035/yoko-spec-
corba-1.0-incubating-r557035.pom
[exec] [WARNING] Unable to get resource
'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from repositor
y central (http://repo1.maven.org/maven2)
[exec] [WARNING]
[exec] Artifact junit:junit:jar:3.8.1:test retains local scope
'test' overriding broader scope 'compile'
[exec] given by a dependency. If this is not intended, modify or
remove the local scope.
[exec] Downloading:
file://D:\g20\g\repository//castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.pom
[exec] [WARNING] Unable to get resource
'castor:castor:pom:0.9.9.0-pre' from repository module-local (file://D:\g20
\g\repository/)
[exec] Downloading:
http://download.java.net/maven/1//castor/poms/castor-0.9.9.0-pre.pom
[exec] [WARNING] Unable to get resource
'castor:castor:pom:0.9.9.0-pre' from repository java.net (http://download.j
ava.net/maven/1/)
[exec] Downloading:
http://people.apache.org/repo/m2-incubating-repository//castor/castor/0.9.9.0-pre/castor-0.9.9.
0-pre.pom
[exec] [WARNING] Unable to get resource
'castor:castor:pom:0.9.9.0-pre' from repository apache-incubator (http://pe
ople.apache.org/repo/m2-incubating-repository/)
[exec] Downloading:
http://repo1.maven.org/maven2/castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.pom
[exec] [WARNING] Unable to get resource
'castor:castor:pom:0.9.9.0-pre' from repository central (http://repo1.maven
.org/maven2)
[exec] Downloading:
file://D:\g20\g\repository//castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.jar
[exec] [WARNING] Unable to get resource
'castor:castor:jar:0.9.9.0-pre' from repository module-local (file://D:\g20
\g\repository/)
[exec] Downloading:
http://download.java.net/maven/1//castor/jars/castor-0.9.9.0-pre.jar
[exec] [WARNING] Unable to get resource
'castor:castor:jar:0.9.9.0-pre' from repository java.net (http://download.j
ava.net/maven/1/)
[exec] Downloading:
http://people.apache.org/repo/m2-incubating-repository//castor/castor/0.9.9.0-pre/castor-0.9.9.
0-pre.jar
[exec] [WARNING] Unable to get resource
'castor:castor:jar:0.9.9.0-pre' from repository apache-incubator (http://pe
ople.apache.org/repo/m2-incubating-repository/)
[exec] Downloading:
http://repo1.maven.org/maven2/castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.jar
[exec] [WARNING] Unable to get resource
'castor:castor:jar:0.9.9.0-pre' from repository central (http://repo1.maven
.org/maven2)
[exec] [INFO]
------------------------------------------------------------------------
[exec] [ERROR] BUILD ERROR
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Failed to resolve artifact.
[exec] Missing:
[exec] ----------
[exec] 1) castor:castor:jar:0.9.9.0-pre
[exec] Try downloading the file manually from the project website.
[exec] Then, install it using the command:
[exec] mvn install:install-file -DgroupId=castor
-DartifactId=castor \
[exec] -Dversion=0.9.9.0-pre -Dpackaging=jar
-Dfile=/path/to/file
[exec] Path to dependency:
[exec] 1) org.apache.geronimo:repository:jar:2.0.2
[exec] 2)
org.codehaus.mojo.jspc:jspc-maven-plugin:jar:2.0-alpha-1-20070806
[exec] 3)
org.codehaus.mojo.groovy:groovy-mojo-support:jar:1.0-alpha-3
[exec] 4)
org.codehaus.mojo.groovy:groovy-mojo-common:jar:1.0-alpha-3
[exec] 5) groovy:groovy-all:jar:1.0
[exec] 6) openejb:openejb-loader:jar:1.0
[exec] 7) openejb:openejb-core:jar:1.0
[exec] 8) castor:castor:jar:0.9.9.0-pre
[exec] ----------
[exec] 1 required artifact is missing.
[exec] for artifact:
[exec] org.apache.geronimo:repository:jar:2.0.2
[exec] from the specified remote repositories:
[exec] central (http://repo1.maven.org/maven2),
[exec] java.net (http://download.java.net/maven/1/),
[exec] apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
[exec] apache-snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
[exec] codehaus-snapshots
(http://snapshots.repository.codehaus.org),
[exec] apache-incubator
(http://people.apache.org/repo/m2-incubating-repository/),
[exec] module-local (file://D:\g20\g\repository/)
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] For more information, run Maven with the -e switch
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Total time: 32 seconds
[exec] [INFO] Finished at: Thu Oct 25 11:31:18 EDT 2007
[exec] [INFO] Final Memory: 51M/92M
[exec] [INFO]
------------------------------------------------------------------------
__________________________________________________________________________________
* This message is intended only for the use of the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. Unless you are
the addressee (or authorized to receive for the addressee), you may not use,
copy or disclose the message or any information contained in the message. If
you have received this message in error, please advise the sender by reply
e-mail , and delete the message, or call (collect) 001 613 747 4698. *