Class AbstractInsigniaMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AttachBundleEngineMojo, DetachBundleEngineMojo, InscribeMojo

public abstract class AbstractInsigniaMojo extends AbstractPackageable
Abstract Goal which executes WiX Insignia for
  • inscribing an MSI with the digital signatures that its external CABs are signed with.
  • detach/reattach burn engine from bundle
  • Field Details

    • signBundleEngine

      @Parameter(property="wix.signBundleEngine", defaultValue="false") protected boolean signBundleEngine
      Indicate if the bundleEngine should be detached for signing, and re attached.
    • bundleEnginePath

      @Parameter(property="wix.bundleEnginePath", defaultValue="${project.build.directory}/wix-bundleEngines", required=true) protected File bundleEnginePath
      TODO: make this a pattern so no need for seperate filename The file path for detach/attach of the bundle engine. - $(arch) ${culture}
    • bundleEngineName

      @Parameter(property="wix.bundleEngineName", defaultValue="engine.exe", required=true) protected String bundleEngineName
      TODO: merge with above once it is a pattern so no need for seperate filename The file name for detach/attach of the bundle engine.
  • Constructor Details

    • AbstractInsigniaMojo

      public AbstractInsigniaMojo()
  • Method Details

    • insignia

      protected org.codehaus.plexus.util.cli.Commandline insignia(File insigniaTool) throws org.apache.maven.plugin.MojoExecutionException
      Prepare basic insignia command line
      Parameters:
      insigniaTool - insignia executable to run.
      Returns:
      prepared insignia command line.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if command preparation fails.
    • insignia

      protected void insignia(org.codehaus.plexus.util.cli.Commandline cl) throws org.apache.maven.plugin.MojoExecutionException
      Execute the given command line parsing output for torch comments
      Parameters:
      cl - prepared insignia command line.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if insignia execution fails.
    • validateTool

      protected File validateTool() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException