Actually, this was my fault - there was a bug in the pom where it referenced 2.3. I'll publish a new snapshot in a few minutes.

- Brett

On 25/05/2007, at 1:53 AM, Zak Jacobson wrote:

Hi-

We are experiencing an issue with this today. We are not trying to test the
2.3.1-SNAPSHOT version.  Our pom has
<plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
               <version>2.3</version>
</plugin>

But we are downloading and using 2.3.1-SNAPSHOT which gives the following
error:
[INFO] [surefire:test]
[INFO] Surefire report directory:
C:\P4\TPE\te\tpe\main\compiler\target\surefire-reports
[INFO] Building jar:
C:\DOCUME~1\ZJACOB~1\LOCALS~1\Temp\surefirebooter25155.jar
java.lang.NoClassDefFoundError:
org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"

I've tried using version 2.3-SNAPSHOT, 2.4-SNAPSHOT but I always get
2.3-SNAPSHOT, specifically 2.3.1-20070524.103536-2. Then I tried removing
the reference to the apache snapshot repo from the pom and it worked.

So, two questions...
1) Why do we get the class not found exception with 2.3.1-SNAPSHOT?
2) Why do we get version 2.3.1-SNAPSHOT when we ask for version 2.3?

Thanks-
Zak


On 5/24/07, Brett Porter <[EMAIL PROTECTED]> wrote:

Hi,

The surefire 2.3.1 release vote is imminent, so I'd like to ask
people to test the latest build.

I'm particularly interested in those:
- who can't use 2.3 because of a regression since 2.2
- who currently use 2.3 on Windows
- who use different types of classloading configuration in tests

To test the release, add the following to your pom:

<build>
   <pluginManagement>
     <plugins>
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.3.1-SNAPSHOT</version>
       </plugin>
     </plugins>
   </pluginManagement>
</build>

If you want to download the snapshot, add the following snapshot
repository to your POM: http://people.apache.org/repo/m2-snapshot-
repository

Alternatively, you can build from source: http://svn.apache.org/ repos/
asf/maven/surefire/branches/surefire-2.3.x

Thanks!
- Brett

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