-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
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



On 5/10/05, Iktorn <[EMAIL PROTECTED]> wrote:
> 
> Hi ,
> I have got a problem,
> I try to compile my project in maven and I get following errors:
> 
> .... 
> C:\Projekte\am_applic\implementation\appserver\connectors\src\test\jav
> a\de\mypac
> kage\mail\om\connectors\cms\CMSAccountDataTest.java:260: cannot resolve symbo
> l
> symbol  : method fail (java.lang.String)
> location: class de.mypackage.mail.om.connectors.cms.CMSAccountDataTest
>                 fail("getCustomerSaldo: " + 
> testObjekt.getCustomerSaldo().getVal
> ue());
>                 ^
> C:\Projekte\am_applic\implementation\appserver\connectors\src\test\java\de\mypac
> kage\mail\om\connectors\cms\CMSAccountDataTest.java:262: cannot resolve symbo
> l
> symbol  : method fail (java.lang.String)
> location: class de.mypackage.mail.om.connectors.cms.CMSAccountDataTest
>                 fail("getActualLimit: " + 
> testObjekt.getActualLimit().getValue()
> );
> ...
> 
> And in intellij everything is ok, fail method corresponds to 
> junit.framework.Assert Anybody has any idea what should I do ?
> 
> Thanks in advance
> Artur
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to