Class SmokeMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="smoke", requiresProject=true, defaultPhase=TEST) public class SmokeMojo extends AbstractPackageable
Smoke to perform 'unit' testing of msi/msp Smoke runs ICE similar to light, this goal allows a seperate execution from the linker step. Optionally translate into unit test report output
  • Field Details

    • skipTests

      @Parameter(property="wix.skipTests", defaultValue="false") protected boolean skipTests
      Skip running of smoke goal.
    • reportDirectory

      @Parameter(property="wix.reportDirectory", defaultValue="${project.build.directory}/wix-reports") protected File reportDirectory
      Where to store the results as an xml report. TODO: gather ICE issues into XML report...
    • validationLogFile

      @Parameter(property="wix.validationLogFile", defaultValue="${project.build.directory}/wix-log/validation.txt") protected File validationLogFile
      Where to store the validation log file.
    • validateAllCultures

      @Parameter(property="wix.validateAllCultures", defaultValue="false") protected boolean validateAllCultures
      Run smoke on installers created for all cultures. When false only runs against the base culture.
    • testFailureIgnore

      @Parameter(property="wix.test.failure.ignore", defaultValue="false") protected boolean testFailureIgnore
      Set this to "true" to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Constructor Details

    • SmokeMojo

      public SmokeMojo()
  • Method Details

    • multiSmoke

      public void multiSmoke(File smokeTool) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • smoke

      protected void smoke(org.codehaus.plexus.util.cli.Commandline cl) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • execute

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