You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Ni...@arsoe-trelaze.com on 2004/02/27 14:48:29 UTC

Maven plugin : difference cactus.test.excludes and cactus.src.excludes

In my test-cactus directory I have classes who are not test class so I 
want to don't execute them as test.

I see in the doc that cactus.test.excludes = **/MyService*.* will exclude 
them. But it doesn't work this classes are execute has test during a maven 
cactus:test-ear.

When I set the cactus.src.excludes = **/MyService*.* it is ok. 

cactus.test.excludes is the propertie to set (in the maven cactus plugin 
doc) to ignore some classes during the test.
Did I don't understand the excludes role in the doc ?

The plugin.jelly I see cactus.test.excludes only in test:war and 
cactus.src.excludes only in test-ear. Isn't it the problem source ?

Nicolas

RE: Maven plugin : difference cactus.test.excludes and cactus.src.excludes

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Nicolas,

It's a bug. When when renamed the properties
cactus.src.includes/cactus.src.excludes to
cactus.test.includes/cactus.test.excludes, we forgot to make the change
in one place (for the test-ear goal).

I've now fixed it in CVS HEAD.

Thanks
-Vincent

> -----Original Message-----
> From: Nicolas.CHALUMEAU@arsoe-trelaze.com
[mailto:Nicolas.CHALUMEAU@arsoe-
> trelaze.com]
> Sent: 27 February 2004 14:48
> To: cactus-user@jakarta.apache.org
> Subject: Maven plugin : difference cactus.test.excludes and
> cactus.src.excludes
> 
> In my test-cactus directory I have classes who are not test class so I
> want to don't execute them as test.
> 
> I see in the doc that cactus.test.excludes = **/MyService*.* will
exclude
> them. But it doesn't work this classes are execute has test during a
maven
> cactus:test-ear.
> 
> When I set the cactus.src.excludes = **/MyService*.* it is ok.
> 
> cactus.test.excludes is the propertie to set (in the maven cactus
plugin
> doc) to ignore some classes during the test.
> Did I don't understand the excludes role in the doc ?
> 
> The plugin.jelly I see cactus.test.excludes only in test:war and
> cactus.src.excludes only in test-ear. Isn't it the problem source ?
> 
> Nicolas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org