It pulls that artifact from your project's plugin repositories, based on the assumption that that is where the surefire plugin from.

Since you built from source, that assumption isn't right. You'll have to build the other from source.

- Brett

Brett Porter wrote:
You need to build install surefire first.

However, it should have attempted to look for this on the snapshot repo - I'll look into it.

- Brett

Wendy Smoak wrote:
I just updated built maven-surefire-plugin 2.2-SNAPSHOT from source,
then tried 'mvn test' on my own project.

I get:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.maven.surefire:surefire-junit:jar:2.0-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.surefire -DartifactId=
surefire-junit \
         -Dversion=2.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
       1) dummy:dummy:jar:1.0
       2) org.apache.maven.surefire:surefire-junit:jar:2.0-SNAPSHOT

----------

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to