jscoverage to Cobertura XML Plugin

Plugin to convert jscoverage's JSON to the Cobertura XML format

License

License

Categories

Categories

Maven Build Tools Cobertura Application Testing & Monitoring Code Coverage
GroupId

GroupId

eu.numberfour.maven.plugins
ArtifactId

ArtifactId

jscoverage-cobertura-maven-plugin
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

jscoverage to Cobertura XML Plugin
Plugin to convert jscoverage's JSON to the Cobertura XML format
Project URL

Project URL

https://github.com/NumberFour/jscoverage-cobertura-maven-plugin
Source Code Management

Source Code Management

https://github.com/NumberFour/jscoverage-cobertura-maven-plugin

Download jscoverage-cobertura-maven-plugin

How to add to project

<plugin>
    <groupId>eu.numberfour.maven.plugins</groupId>
    <artifactId>jscoverage-cobertura-maven-plugin</artifactId>
    <version>1.2.0</version>
</plugin>

Dependencies

compile (7)

Group / Artifact Type Version
com.google.code.gson : gson jar 1.7.1
org.jdom : jdom jar 1.1
commons-lang : commons-lang jar 2.6
org.apache.maven : maven-project jar 2.0.3
org.apache.maven : maven-plugin-api jar 2.0.3
org.apache.maven : maven-artifact jar 2.0.3
org.apache.maven : maven-plugin-tools-api jar 2.0.3

Project Modules

There are no modules declared in this project.

#jscoverage to Cobertura Maven Plugin

This plugin converts jscoverage's JSON output into the Cobertura XML format. It is configured as follows:

<build>
....
<plugin>
  <groupId>de.mytoys.maven.plugins</groupId>
  <artifactId>jscoverage-cobertura-maven-plugin</artifactId>
  <groupId>eu.numberfour.maven.plugins</groupId>
  <version>1.2.0</version>
  <executions>
    <execution>
      <goals>
       <goal>transform</goal>
      </goals>
      <phase>process-resources</phase>
    </execution>
  </executions>
</plugin>
...
</build>

Alternatively you can run it from the command line with the following line:

mvn eu.numberfour.maven.plugins:jscoverage-cobertura-maven-plugin:transform

The complete Mojo documentation is available here: http://numberfour.github.com/jscoverage-cobertura-maven-plugin/transform-mojo.html

eu.numberfour.maven.plugins

NumberFour AG

Versions

Version
1.2.0