I can think of two things, that could go wrong:

1. Did you configure this under the reporting section or under the
build section of your pom file? It should be under the build section
afaik.

2. Otherwise, what version of the cobertura plugin are you using?

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Mon, Sep 29, 2008 at 12:04 PM, Lewis, Eric <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to generate an XML report using the Cobertura plugin (2.2
> apparently). I configured the plugin according to the documentation:
>
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>cobertura-maven-plugin</artifactId>
>  <configuration>
>    <formats>
>      <format>xml</format>
>    </formats>
>  </configuration>
> </plugin>
>
> Then I start Maven (mvn clean install cobertura:cobertura), but the
> plugin generates the HTML reports under .../target/site/cobertura/
> (which I tell it not to do), but doesn't create any XML files.
>
> What am I doing wrong?
>
> Best regards,
> Eric
>
> ---------------------------------------------------------------------
> 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