The new versions solve the ClassNotFound issue. The normal SNAPSHOT has a
problem starting the testSuite in TestNG. Is there a specific TestNG version
I need to use? (I use 5.5). The 'colab' version works like a charm. 

[INFO] [surefire:test]
[WARNING] useSystemClassloader=true setting has no effect when not forking
[INFO] Surefire report directory:
d:\eclipse-installs\workspaces\ceres\ceres\support\target\surefire-reports
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to find appropriate constructor to create suite:
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(ja
va.io.File, java.util.ArrayList, java.util.ArrayList, java.lang.String,
java.lang.String, java.util.Properties); nested exception
is java.lang.NoSuchMethodException:
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(java.io.File,
java.util.Array
List, java.util.ArrayList, java.lang.String, java.lang.String,
java.util.Properties); nested exception is org.apache.maven.surefir
e.testset.TestSetFailedException: Unable to find appropriate constructor to
create suite: org.apache.maven.surefire.testng.TestNGD
irectoryTestSuite.<init>(java.io.File, java.util.ArrayList,
java.util.ArrayList, java.lang.String, java.lang.String, java.util.Pro
perties); nested exception is java.lang.NoSuchMethodException:
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.<init>(ja
va.io.File, java.util.ArrayList, java.util.ArrayList, java.lang.String,
java.lang.String, java.util.Properties)

Thanks Brett for the effort.

Cheers,
Jan Arend

Brett Porter wrote:
> 
> I have just deployed a 2.4-collab-SNAPSHOT which *should* be identical
> to the previous one in use. It's temporary, but it might help if
> 2.4-SNAPSHOT isn't working for you.
> 
> On 02/06/07, Brett Porter <[EMAIL PROTECTED]> wrote:
>> Surefire had only been partially deployed. I've just deployed the
>> whole thing - try with -U again to see if that corrects the problem
>> and let us know if not.
>>
>> This is under active development and may break - this is why it is not
>> released.
>>
>> If you need to get a hold of the code that was previously deployed,
>> you can biuld from this SVN:
>> https://svn.apache.org/repos/asf/maven/sandbox/branches/surefire/surefire-collaboration
>>
>> Cheers,
>> Brett
>>
>> On 02/06/07, Joel Wiegman <[EMAIL PROTECTED]> wrote:
>> > Hi!
>> >
>> > Same exact problem here, even after following all of the steps
>> > suggested.
>> >
>> > Anyone have any work arounds (other than commenting out massive
>> sections
>> > of my pom.xml file)?
>> >
>> >
>> >
>> >
>> > >I have got the same problem.
>> > >
>> > >Can anyone fix the pom?
>> > >
>> > >[WARNING] POM for
>> > >'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime'
>> is
>> > >invalid. It will be ignored for artifact resolution. Reason: Failed
>> to>
>> > >validate POM
>> > >
>> > >Jan
>> >
>> >
>> > >2007/5/31, mhargus <[EMAIL PROTECTED]>:
>> > >>
>> > >>
>> > >> I'm getting an error during during the test compile phase after
>> > running
>> > >> 'mvn
>> > >> install'.  I'm using the 2.4-SNAPSHOT version of Surefire, and it
>> > just
>> > >> started blowing up on me today.
>> > >>
>> > >>
>> > >> Here a snippet of the error:
>> > >>
>> > >>
>> > >> [WARNING] POM for
>> > >> 'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime'
>> > is
>> > >> invalid. It will be ignored for artifact resolution. Reason: Failed
>> > to
>> > >> validate POM
>> > >> -----------------------------------------------------
>> > >> this realm =
>> > >> app0.child-container[org.apache.maven.plugins:maven-surefire-plugin]
>> > >> urls[0] =
>> > >>
>> > >>
>> >
>> file:/Users/matt/.m2/repository/org/apache/maven/plugins/maven-surefire-
>> > plugin/2.4-SNAPSHOT/maven-
>> > >> surefire-plugin-2.4-SNAPSHOT.jar
>> > >> urls[1] =
>> > >>
>> > >>
>> >
>> file:/Users/matt/.m2/repository/org/apache/maven/surefire/surefire-boote
>> > r/2.4-SNAPSHOT/surefire-
>> > >> booter-2.4-SNAPSHOT.jar
>> > >> urls[2] =
>> > >>
>> > >>
>> >
>> file:/Users/matt/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/ple
>> > xus-
>> > >> utils-1.1.jar
>> > >> Number of imports: 4
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >>
>> > >>
>> > >> this realm = plexus.core
>> > >> urls[0] = file:/usr/local/maven/lib/maven-core-2.0.6-uber.jar
>> > >> Number of imports: 4
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >> import: [EMAIL PROTECTED]
>> > >> -----------------------------------------------------
>> > >> [INFO]
>> > >>
>> >
>> ------------------------------------------------------------------------
>> > >> [ERROR] BUILD ERROR
>> > >> [INFO]
>> > >>
>> >
>> ------------------------------------------------------------------------
>> > >> [INFO] Internal error in the plugin manager executing goal
>> > >> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test':
>> > Unable
>> > >> to find the mojo
>> > >> 'org.apache.maven.plugins:maven-surefire-plugin:2.4-SNAPSHOT:test'
>> in
>> > the
>> > >> plugin 'org.apache.maven.plugins:maven-surefire-plugin'
>> > >> org/apache/maven/surefire/util/NestedCheckedException
>> > >>
>> > >> Anyone else seeing this?
>> > >>
>> > >> Matt
>> > >> --
>> > >> View this message in context:
>> > >>
>> >
>> http://www.nabble.com/Surefire-2.4-SNAPSHOT-errors-tf3847995s177.html#a1
>> > 0898921
>> > >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> > >>
>> > >>
>> > >>
>> ---------------------------------------------------------------------
>> > >> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Surefire-2.4-SNAPSHOT-errors-tf3847995s177.html#a10925612
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to