StÃphane Nicoll <Stephane.Nicoll <at> bsb.com> writes: > > > -----Original Message----- > From: Brett Porter [mailto:brett.porter <at> gmail.com] > Sent: Tuesday, May 10, 2005 9:53 AM > To: Maven Users List > Subject: Re: maven vs intellij > > > add a dependency on junit in your project.xml file. > > Well, no ... The test plugin adds autmatically the dependency on Junit!! > > If the [...]connectors\src\test\java\ directory is flagged in the POM as the unitTestSourceDirectory, > it should work without any futher modification. Artur, are your running the test plugin against this directory? > > Cheers, > StÃphane >
Yes , I'am content of my project.xml : ... <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <jar>junit.jar</jar> </dependency> </dependencies> <build> <sourceDirectory>src/main/java</sourceDirectory> <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <unitTest> <includes> <include>de/mypackage/mail/om/connectors/base/configuration/*Test.java</include > </includes> </unitTest> </build> Is it possible that there are many fail procedures and maven don't know which to choose ? Artur --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]