Report2Image

Maven plugin for converting html reports into a single image file

Лицензия

Лицензия

Группа

Группа

de.eleon
Идентификатор

Идентификатор

report2image
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Report2Image
Maven plugin for converting html reports into a single image file
Ссылка на сайт

Ссылка на сайт

https://github.com/dfoerderreuther/report2image
Система контроля версий

Система контроля версий

https://github.com/dfoerderreuther/report2image

Скачать report2image

Как подключить последнюю версию

<plugin>
    <groupId>de.eleon</groupId>
    <artifactId>report2image</artifactId>
    <version>1.0</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.xhtmlrenderer : flying-saucer-core jar 9.0.6
org.apache.maven : maven-plugin-api jar 3.2.2
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3
com.google.guava : guava jar 17.0

test (5)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.hamcrest : hamcrest-all jar 1.3
org.mockito : mockito-all jar 1.9.5
org.powermock : powermock-module-junit4 jar 1.5.5
org.powermock : powermock-api-mockito jar 1.5.5

Модули Проекта

Данный проект не имеет модулей.

Report2Image

Report2Image is a maven plugin to convert a html report into a single image. It can be used to display the reported test coverage at drone.io, for example.

Example usage in pom.xml with jacoco

The following pom settings create a jacoco coverage report and converts the index-page of the report into a png.

Jacoco configuration

<plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <version>0.7.1.201405082137</version>
    <executions>
        <execution>
            <id>jacoco-initialize</id>
            <goals>
                <goal>prepare-agent</goal>
            </goals>
        </execution>
        <execution>
            <id>jacoco-integration</id>
            <phase>prepare-package</phase>
            <goals>
                <goal>report</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Report2Image configuration

<plugin>
    <groupId>de.eleon</groupId>
    <artifactId>report2image</artifactId>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>report2image</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <reports>
            <report>
                <html>target/site/jacoco/index.html</html>
                <image>target/jacoco.png</image>
            </report>
            <!-- ... -->
        </reports>
    </configuration>
</plugin>

Версии библиотеки

Версия
1.0