Cobertura plugin seems to create empty target/site/index.html, preventing maven
from creating content for the page
------------------------------------------------------------------------------------------------------------------
Key: MCOBERTURA-147
URL: http://jira.codehaus.org/browse/MCOBERTURA-147
Project: Maven 2.x Cobertura Plugin
Issue Type: Bug
Affects Versions: 2.5
Environment: Apache Maven 3.0 (r1004208; 2010-10-04 06:50:56-0500)
Java version: 1.6.0_23
Java home: c:\Program Files\Java\jdk1.6.0_23\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
Reporter: Roman Zenka
When running 'mvn site', the Cobertura plugin appears to create empty
index.html in target\site\.
When maven attempts to create the "About" section of the website, it notices
the index.html already exists and skips this step.
The problem is resolved either by disabling the Cobertura plugin, or by
reverting to version 2.4.
This is the corresponding configuration for Cobertura:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
</plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email