Vincent,

I had this problem before, as far as I can remember i resolved this problem by deleting "maven-surefire-plugin-LATEST.version.txt" and the file "pluginRegistry.xml" in ".m2" directory in my local repo. Try it out.

Johnny



Vincent Massol wrote:

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: dimanche 4 septembre 2005 09:05
To: Maven Developers List
Subject: Re: Problem with surefire plugin's version

Are you sure? This is exactly what the bootstrap does to ensure all the
latest plugins are used that it just built.

I'm pretty sure:

C:\dev\cargo\samples\java>m2 -DupdateReleaseInfo=true install
[...]
[INFO] maven-surefire-plugin: resolved to version 2.0-alpha-3 from local
repository
[...]

And if I look into my m2 repo:

C:\Documents and Settings\Vincent
Massol\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin>dir
Volume in drive C has no label.
Volume Serial Number is 9445-8590

Directory of C:\Documents and Settings\Vincent
Massol\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin

03/09/2005  11:58    <DIR>          .
03/09/2005  11:58    <DIR>          ..
04/09/2005  08:51    <DIR>          2.0-alpha-3
30/08/2005  18:11    <DIR>          2.0-beta-1-SNAPSHOT
03/09/2005  11:58                19 maven-surefire-plugin-LATEST.version.txt
04/09/2005  08:50                11
maven-surefire-plugin-RELEASE.version.txt
              2 File(s)             30 bytes
              4 Dir(s)  14 074 413 056 bytes free

Inside the LATEST file, it says: 2.0-beta-1-SNAPSHOT
And inside the RELEASE one: 2.0-alpha-3

If I delete those files they get recreated with the same content.

Thanks
-Vincent


---------------------------------------------------------------------
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