On Friday, September 7, 2007, 9:38:53 AM, Al <[EMAIL PROTECTED]> wrote:

> Gwyn Evans wrote:
>> It's a bug in the Maven Surefire plugin V2.3 that shows up if there's
>> a src/test/java tree but neither JUnit or TestNG in the dependencies.
>> 
>> Simplest fix is to add
>> 
>> <dependency>
>>         <groupId>junit</groupId>
>>         <artifactId>junit</artifactId>
>>         <version>3.8.2</version>
>>         <scope>provided</scope>
>> </dependency>
>> 
>>  to the generated pom.xml's <dependencies> section.  I've added it to
>>  the code for the archetype in SVN, but can't do anything about the
>>  one already published in beta3.

> That should surely be <scope>test</scope>?

> Regards,

> Al

Well caught - must be more careful when I cut & paste!


/Gwyn


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

Reply via email to