Skip to content

nagyesta/abort-mission-maven-plugin

Repository files navigation

Abort-Mission

GitHub license Java version latest-release Maven Central JavaCI

codecov code-climate-maintainability code-climate-tech-debt last_commit wiki

Abort-Mission is a lightweight Java library providing flexible test abortion support for test groups to allow fast failures.

This project provides Maven integration for Abort-Mission report generation.

Installation

Abort-Mission can be downloaded from a few Maven repositories. Please head to this page to find out more.

Note

Please don't forget, that this is a plugin, you will need to add the repository as a plugin repository.

Minimal configuration

<plugin>
    <groupId>com.github.nagyesta.abort-mission</groupId>
    <artifactId>abort-mission-maven-plugin</artifactId>
    <version>RELEASE</version>
    <executions>
        <execution>
            <id>generate-report</id>
            <goals>
                <goal>flight-eval-report</goal>
            </goals>
            <phase>prepare-package</phase>
        </execution>
    </executions>
</plugin>

Configuration properties

The following optional properties can be provided to the plugin in the <configuration> tag if you wish to override the default behavior

Parameter Property Description Default value
inputFile ${mojo.abortmission.input} The location of the JSON input ${project.build.directory}/reports/abort-mission/abort-mission-report.json
outputFile ${mojo.abortmission.output} The location of the HTML output ${project.build.directory}/reports/abort-mission/abort-mission-report.html
jarVersion ${mojo.abortmission.version} The version of the report generator RELEASE
relaxed ${mojo.abortmission.relaxed} Whether we can use relaxed JSON schema validation or not false

About the reports

Flight Evaluation Report explained