Convert cucumber JSON report(s) into an asciidoc file which can be rendered with PDF or HTML goals.

Coordinates

<plugin>
  <groupId>io.yupiik.maven</groupId>
  <artifactId>yupiik-tools-maven-plugin</artifactId>
  <version>1.2.4-SNAPSHOT</version>
</plugin>

To call this goal from the command line execute: mvn yupiik-tools:cucumber2asciidoc.

To bind this goal in the build you can use:

<plugin>
  <groupId>io.yupiik.maven</groupId>
  <artifactId>yupiik-tools-maven-plugin</artifactId>
  <version>1.2.4-SNAPSHOT</version>
  <executions>
    <execution>
      <id>my-execution</id>
      <goals>
        <goal>cucumber2asciidoc</goal>
      </goals>
      <configuration>
        <!-- execution specific configuration come there -->
      </configuration>
    </execution>
  </executions>
</plugin>

You can execute this goal particularly with mvn yupiik-tools:cucumber2asciidoc@my-execution command.

Configuration

prefix (String)

Default value: = Cucumber Report. Property: ${yupiik.cucumber.prefix}.

source (java.io.File)

Default value: ${project.build.directory/cucumber-reports/. Property: ${yupiik.cucumber.source}.

suffix (String)

Property: ${yupiik.cucumber.suffix}.

target (java.io.File)

Default value: ${project.build.directory}/generated-adoc/cucumber.report.adoc. Property: ${yupiik.cucumber.target}.