@Mojo(name="single", inheritByDefault=false, requiresDependencyResolution=TEST, threadSafe=true) public class SingleAssemblyMojo extends AbstractAssemblyMojo
descriptors
, descriptorRefs
, and descriptorSourceDirectory
are disjoint, i.e., they are not combined during descriptor location calculation.commandLinePropertiesInterpolator, envInterpolator, mainProjectInterpolator, rootInterpolator
Constructor and Description |
---|
SingleAssemblyMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Create the binary distribution.
|
MavenProject |
getProject() |
getArchiveBaseDirectory, getArchiverConfig, getBasedir, getCommandLinePropsInterpolator, getDelimiters, getDescriptorReferences, getDescriptors, getDescriptorSourceDirectory, getEncoding, getEnvInterpolator, getEscapeString, getFilters, getFinalName, getJarArchiveConfiguration, getLocalRepository, getMainProjectInterpolator, getMavenReaderFilter, getMavenSession, getMergeManifestMode, getOutputDirectory, getReactorProjects, getRemoteRepositories, getRepositoryInterpolator, getSiteDirectory, getTarLongFileMode, getTemporaryRootDirectory, getWorkingDirectory, isAssemblyIdAppended, isDryRun, isIgnoreDirFormatExtensions, isIgnoreMissingDescriptor, isIgnorePermissions, isIncludeProjectBuildFilters, isUpdateOnly, isUseJvmChmod, mainProjectInterpolator, setAppendAssemblyId, setArchive, setBasedir, setDelimiters, setDescriptorRefs, setDescriptors, setFilters, setFinalName, setLocalRepository, setOutputDirectory, setReactorProjects, setSiteDirectory, setTarLongFileMode, setTempRoot, setWorkDirectory
getLog, getPluginContext, setLog, setPluginContext
public void execute() throws MojoExecutionException, MojoFailureException
AbstractAssemblyMojo
execute
in interface Mojo
execute
in class AbstractAssemblyMojo
MojoExecutionException
MojoFailureException
public MavenProject getProject()
getProject
in interface AssemblerConfigurationSource
getProject
in class AbstractAssemblyMojo
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.