Package com.github.wix_maven
Class AbstractPackageable
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.AbstractPackageable
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractInsigniaMojo,AbstractLinker,AbstractTorchMojo,HarvestMojo,PackageMojo,PreparePackageMojo,SmokeMojo,ValidateMojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileThe cab cache directory (-cc) only added to light if reuseCab is enabled
- will have ${arch} appended
TODO: make this a formatted item so user can choose to add arch or notprotected StringThe names of cabs that are not embedded Comma separated value.protected StringHow to build the msi(s) base - base culture msi only default - each culture as full msi trans - default + transforms & cabs for each additional culture repack - trans + the additional culture (transform+cab) packed into 1 msi note: first culture listed is basefinal Stringfinal Stringfinal Stringfinal Stringprotected FileTarget directory for Nar file unpacking.protected FileOutput directory
in future may have 'configuration' appended (default to Release, but not appended yet) will have ${arch} appended may also have ${culture} appendedprotected StringWhat of the steps should be packaged default - step output (msi/msp/mst/repack) wixpdb - the wixpdbs for all cultures mst - the mst (ie.final Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal Stringfinal StringFields 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.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
-
outputDirectory
@Parameter(property="wix.outputDirectory", defaultValue="${project.build.directory}/Release") protected File outputDirectoryOutput directory
- in future may have 'configuration' appended (default to Release, but not appended yet)
- will have ${arch} appended
- may also have ${culture} appended
-
mergeLevel
How to build the msi(s)- base - base culture msi only
- default - each culture as full msi
- trans - default + transforms & cabs for each additional culture
- repack - trans + the additional culture (transform+cab) packed into 1 msi note: first culture listed is base
-
ML_REPACK
- See Also:
-
ML_TRANSFORM
- See Also:
-
ML_DEFAULT
- See Also:
-
ML_BASE
- See Also:
-
packLevel
@Parameter(property="wix.pack", defaultValue="default,wixpdb,cached_cab") protected String packLevelWhat of the steps should be packaged- default - step output (msi/msp/mst/repack)
- wixpdb - the wixpdbs for all cultures
- mst - the mst (ie. add to a mergeLevel repack build if used with default)
- package - all the msi/msp (ie. add to a mergeLevel trans or repack build if used with default)
- culture_cab - externalCabs for each arch/culture
- cached_cab - externalCabs from the cabCacheDirectory(s) for each arch
- trans_cab - cabs for each arch/culture generated by transform (msi with diff per culture) Comma separated value, default is "default,wixpdb,cached_cab"
-
PL_DEFAULT
- See Also:
-
PL_WIXPDB
- See Also:
-
PL_MST
- See Also:
-
PL_PACKAGE
- See Also:
-
PL_CACHED_CAB
- See Also:
-
PL_CULTURE_CAB
- See Also:
-
PL_TRANS_CAB
- See Also:
-
cabCacheDirectory
@Parameter(property="wix.cabCacheDirectory", defaultValue="${project.build.directory}/Release/cabs") protected File cabCacheDirectoryThe cab cache directory (-cc) only added to light if reuseCab is enabled
- will have ${arch} appended
TODO: make this a formatted item so user can choose to add arch or not -
externalCabs
The names of cabs that are not embedded Comma separated value.
ie. in wxs
<Media Id="1" Cabinet="Product1.cab" EmbedCab="no"/>
<Media Id="2" Cabinet="Product2.cab" EmbedCab="yes"/>
<Media Id="3" Cabinet="Product3.bar"/>
Could add
<externalCabs>Product1.cab,Product3.bar</externalCabs> TODO: this might need to be more like an include/exclude filter list -
narUnpackDirectory
@Parameter(property="wix.narUnpackDirectory", defaultValue="${project.build.directory}/nar") protected File narUnpackDirectoryTarget directory for Nar file unpacking.
-
-
Constructor Details
-
AbstractPackageable
public AbstractPackageable()
-
-
Method Details
-
defaultLocale
protected void defaultLocale() -
getOutput
-
baseCulturespec
-
alternateCulturespecs
-
languages
-
getExternalCabs
-
getPackageOutputExtension
-
getPackaging
-