Hi Migs,
Hi Migs,
I don't think you can do it the other way around (or rather, in a straight-forward way). The war plugin has a parameter for the classes dir but it cannot be overridden. Your best bet is probably to use <warSourceIncludes> and <warSourceExcludes> instead..
HTH,
Deng
________________________________
From: Miguel Paraz <
mparaz@...>
To:
pinoyjug@...
Sent: Sun, September 20, 2009 3:49:47 PM
Subject: Re: [pinoyjug] open-source code coverage tool
reviving an old thread...
On Wed, Dec 14, 2005 at 10:58 AM, Paolo Enrico Melendres
<pamelendres@ yahoo.com> wrote:
> good day!
>
> what code coverage tool do you guys use?
I've been using Cobertura from the command line. Now, I want to try it
using its Maven tasks.
For standalone programs, no problem.
Now, I want to instrument a Maven war project. When Maven builds the
war, it looks in ./target/classes. However, the cobertura:instrumen t
goal copies the classes to ./target/generated- classes/cobertur a.
How can I make the Maven war:war goal take the instrumented classes
from the corrected place?
Thanks!