Package com.github.wix_maven
Class AbstractInsigniaMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.AbstractPackageable
com.github.wix_maven.AbstractInsigniaMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AttachBundleEngineMojo,DetachBundleEngineMojo,InscribeMojo
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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringTODO: merge with above once it is a pattern so no need for seperate filename The file name for detach/attach of the bundle engine.protected FileTODO: make this a pattern so no need for seperate filename The file path for detach/attach of the bundle engine.protected booleanIndicate if the bundleEngine should be detached for signing, and re attached.Fields 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
Methods 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, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
signBundleEngine
@Parameter(property="wix.signBundleEngine", defaultValue="false") protected boolean signBundleEngineIndicate 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 bundleEnginePathTODO: 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 bundleEngineNameTODO: 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
- Throws:
org.apache.maven.plugin.MojoExecutionException
-