Package com.github.wix_maven
Class AbstractTorchMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.AbstractPackageable
com.github.wix_maven.AbstractTorchMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
PatchMojo,TransformMojo
Abstract Goal which executes WiX torch to create diff files - mst, wixmst
-
Field Summary
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
Modifier and TypeMethodDescriptionprotected voidaddTorchOptions(org.codehaus.plexus.util.cli.Commandline cl) protected abstract voidaddValidationOptions(org.codehaus.plexus.util.cli.Commandline cl) protected voidPrepare and execute torch command line toolprotected voidtorch(org.codehaus.plexus.util.cli.Commandline cl) Execute the given command line parsing output for torch commentsprotected abstract Stringprotected FileMethods 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
-
Constructor Details
-
AbstractTorchMojo
public AbstractTorchMojo()
-
-
Method Details
-
addTorchOptions
protected void addTorchOptions(org.codehaus.plexus.util.cli.Commandline cl) -
addValidationOptions
protected abstract void addValidationOptions(org.codehaus.plexus.util.cli.Commandline cl) -
torchOutputExtension
-
torch
protected void torch(File torchTool, File baseInputFile, File archInputFile, File archOutputFile) throws org.apache.maven.plugin.MojoExecutionException Prepare and execute torch command line tool- Parameters:
torchTool- torch executable to run.baseInputFile- baseline input artifact.archInputFile- updated input artifact for the current architecture.archOutputFile- output transform file to generate.- Throws:
org.apache.maven.plugin.MojoExecutionException- if torch execution fails.
-
torch
protected void torch(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 torch command line.- Throws:
org.apache.maven.plugin.MojoExecutionException- if torch execution fails.
-
validateTool
- Throws:
org.apache.maven.plugin.MojoExecutionException
-