Class OrcanosPublisherMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="publish",
          threadSafe=true,
          defaultPhase=POST_INTEGRATION_TEST)
    public class OrcanosPublisherMojo
    extends org.apache.maven.plugin.AbstractMojo
    Orcanos publish goal should be configured as in plugin-config.xml file used for testing.
    • Field Detail

      • skip

        @Parameter(property="orcanos.skip",
                   defaultValue="false")
        protected boolean skip
      • reportsDirectory

        @Parameter(defaultValue="${project.build.directory}/jgiven-reports/qa-html")
        protected File reportsDirectory
      • filePattern

        @Parameter(defaultValue="(.*[\\\\|/])([^\\\\|/]+)-([^\\\\|/]+)-([^\\\\|/]+)$")
        protected String filePattern
        Groups to match in report file to be published as follows:
        1. absolute path to file
        2. execution status
        3. class name
        4. method name
        Currently, only the execution status is used.
      • reportFileExtension

        @Parameter(defaultValue=".html")
        protected String reportFileExtension
        Files having this extension will be scanned and uploaded if matched correctly by filePattern.
      • orcanosUrl

        @Parameter(required=true)
        protected URI orcanosUrl
      • orcanosProjectId

        @Parameter(required=true)
        protected String orcanosProjectId
      • connectTimeoutMs

        @Parameter(defaultValue="10000")
        protected int connectTimeoutMs
      • readTimeoutMs

        @Parameter(defaultValue="10000")
        protected int readTimeoutMs
      • retriesLimit

        @Parameter(defaultValue="3")
        protected int retriesLimit
      • tag

        @Parameter
        protected String tag
      • additionalExecutionFields

        @Parameter
        protected Properties additionalExecutionFields
    • Constructor Detail

      • OrcanosPublisherMojo

        public OrcanosPublisherMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException