You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dberning <da...@hotmail.com> on 2007/08/22 01:05:13 UTC

"Failed to resolve artifact" for surefire 2.3

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


Re: "Failed to resolve artifact" for surefire 2.3

Posted by Wayne Fay <wa...@gmail.com>.
That URL works just fine for me.

Try again, or get your Network Admin involved if your troubles continue.

Wayne

On 8/21/07, dberning <da...@hotmail.com> wrote:
>
> 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
>
>

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