Class ReportITMojo

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

    @Mojo(name="report-integration",
          defaultPhase=VERIFY,
          threadSafe=true)
    public class ReportITMojo
    extends AbstractReportMojo
    Same as report, but provides default values suitable for integration-tests:
    • bound to report-integration phase
    • different dataFile
    Since:
    0.6.4
    • Field Detail

      • outputDirectory

        @Parameter(defaultValue="${project.reporting.outputDirectory}/jacoco-it")
        private java.io.File outputDirectory
        Output directory for the reports. Note that this parameter is only relevant if the goal is run from the command line or from the default build lifecycle. If the goal is run indirectly as part of a site generation, the output directory configured in the Maven Site Plugin is used instead.
      • dataFile

        @Parameter(defaultValue="${project.build.directory}/jacoco-it.exec")
        private java.io.File dataFile
        File with execution data.
    • Constructor Detail

      • ReportITMojo

        public ReportITMojo()
    • Method Detail

      • getOutputDirectory

        protected java.lang.String getOutputDirectory()
        Overrides:
        getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
      • setReportOutputDirectory

        public void setReportOutputDirectory​(java.io.File reportOutputDirectory)
        Specified by:
        setReportOutputDirectory in interface org.apache.maven.reporting.MavenReport
        Overrides:
        setReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
      • getOutputName

        public java.lang.String getOutputName()
      • getName

        public java.lang.String getName​(java.util.Locale locale)