Package com.github.wix_maven
Class AbstractLinker
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.wix_maven.AbstractWixMojo
com.github.wix_maven.AbstractPackageable
com.github.wix_maven.AbstractLinker
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecify a base paths to locate all files.protected FileThe directory to scan for wix files.protected FileThe directory to scan for localisation (.wxl) files.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 voidaddOptions(org.codehaus.plexus.util.cli.Commandline cl, Set<String> allFileSourceRoots) protected voidaddOtherOptions(org.codehaus.plexus.util.cli.Commandline cl) static <T extends Comparable<? super T>>
List<T>asSortedList(Collection<T> c) voidexecute()Return include filters for intermediate object inputs.protected voidlink(org.codehaus.plexus.util.cli.Commandline cl) protected abstract voidMethods 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
-
wxlInputDirectory
@Parameter(property="wix.wxlInputDirectory", defaultValue="${project.basedir}/src/main/wix-locale", required=true) protected File wxlInputDirectoryThe directory to scan for localisation (.wxl) files. For Light the sub culture is added as a -b path For Light and Lit added as a -b source path -
resourceDirectory
@Parameter(property="wix.resourceDirectory", defaultValue="${project.basedir}/src/main/wix-resource", required=true) protected File resourceDirectoryThe directory to scan for wix files. For each build type there is at least one wxs file required -
fileSourceRoots
Specify a base paths to locate all files. (-b option) By default each of the following folders will be added if it exists- wxsInputDirectory
- narUnpackDirectory
- resourceDirectory
-
-
Constructor Details
-
AbstractLinker
public AbstractLinker()
-
-
Method Details
-
asSortedList
-
getIncludes
Return include filters for intermediate object inputs.- Returns:
- include patterns for intermediate files.
-
getExcludes
-
getLocaleIncludes
-
getLocaleExcludes
-
addOptions
protected void addOptions(org.codehaus.plexus.util.cli.Commandline cl, Set<String> allFileSourceRoots) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
addOtherOptions
protected void addOtherOptions(org.codehaus.plexus.util.cli.Commandline cl) -
link
protected void link(org.codehaus.plexus.util.cli.Commandline cl) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
multilink
protected abstract void multilink(File toolDirectory) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-