Package com.github.wix_maven
Class InscribeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.AbstractPackageable
com.github.wix_maven.AbstractInsigniaMojo
com.github.wix_maven.InscribeMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="inscribe",
requiresProject=true,
defaultPhase=PREPARE_PACKAGE)
public class InscribeMojo
extends AbstractInsigniaMojo
Using insignia tool to inscribe each msi with signature details of external cabs ie. insignia -im
setup.msi
TODO: support writing the inscribed msi to a different location/name
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanIndicate if the msi/msp cabs will be signed and so should be inscribed with signatures.Fields inherited from class com.github.wix_maven.AbstractInsigniaMojo
bundleEngineName, bundleEnginePath, signBundleEngineFields inherited from class com.github.wix_maven.AbstractPackageable
cabCacheDirectory, externalCabs, mergeLevel, ML_BASE, ML_DEFAULT, ML_REPACK, ML_TRANSFORM, narUnpackDirectory, outputDirectory, packLevel, PL_CACHED_CAB, PL_CULTURE_CAB, PL_DEFAULT, PL_MST, PL_PACKAGE, PL_TRANS_CAB, PL_WIXPDBFields inherited from class com.github.wix_maven.AbstractWixMojo
compilePerLocale, harvestInputDirectory, intDirectory, localeList, PACK_BUNDLE, PACK_INSTALL, PACK_LIB, PACK_MERGE, PACK_MSIX, PACK_PATCH, packaging, project, reactorProjects, relativeBase, remoteArtifactRepositories, remoteRepos, repoSession, repoSystem, skip, suppress, toolDirectory, toolDirectoryOverwrite, toolsPluginArtifactId, unpackDirectory, validate, verbose, warn, wixExtensions, wxsGeneratedDirectory, wxsInputDirectory, zipUnArchiverFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()TODO: Indicate if the msi/msp should be inscribed with signatures from cabs in the cab cacheMethods inherited from class com.github.wix_maven.AbstractInsigniaMojo
insignia, insignia, validateToolMethods inherited from class com.github.wix_maven.AbstractPackageable
alternateCulturespecs, baseCulturespec, defaultLocale, getExternalCabs, getOutput, getPackageOutputExtension, getPackaging, languagesMethods inherited from class com.github.wix_maven.AbstractWixMojo
addExtension, addToolsetGeneralOptions, addWixExtensions, cleanupFileBasedResources, culturespecs, findToolsArtifact, findToolsArtifacts, getArchIntDirectory, getCommandBuilder, getExtDependencySets, getJARDependencySets, getLocales, getNPANDAYDependencySets, getOutput, getOutputPath, getPlatforms, getPrimaryCulture, getRelatedArtifacts, getRelative, getRelativePath, getWixDependencySets, getWixVersion, resolveArtifact, resolveArtifact, setLocales, setPlatforms, unpackFileBasedResources, wixUnpackDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
inscribePackage
@Parameter(property="wix.inscribePackage", defaultValue="false") protected boolean inscribePackageIndicate if the msi/msp cabs will be signed and so should be inscribed with signatures.
-
-
Constructor Details
-
InscribeMojo
public InscribeMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionTODO: Indicate if the msi/msp should be inscribed with signatures from cabs in the cab cache- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-