maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dberning <davidbern...@hotmail.com>
Subject "Failed to resolve artifact" for surefire 2.3
Date Tue, 21 Aug 2007 23:05:13 GMT

Forgive my lack of knowledge of Maven (haven't really used it much yet), but
I'm trying to use Maven to run unit tests on code using the surefire plugin.
I'm probably missing something simple, but it appears when Maven goes to the
repository to resolve a surefire dependency, it doesn't find the
surefire-2.3 jar (see output below).  I don't see it in the repository. 

What am I doing wrong? Is that code located in some other repository? Or is
this a bad dependency?

Thanks for your help, we're hoping to use Maven going forward,
Dave Berning

C:\Dave\eclipse\workspace\ProfessionExpectations>mvn test -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed -
ProfessionExpectations:ProfessionExpectations:jar:0.0.1
[INFO]    task-segment: [test]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.3/surefire-2.3.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.surefire
ArtifactId: surefire
Version: 2.3

Reason: Unable to download the artifact from any repository

  org.apache.maven.surefire:surefire:pom:2.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

-- 
View this message in context: http://www.nabble.com/%22Failed-to-resolve-artifact%22-for-surefire-2.3-tf4308396s177.html#a12264995
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message