@Mojo(name="single",
inheritByDefault=false,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class SingleAssemblyMojo
extends AbstractAssemblyMojo
descriptors, descriptorRefs, and descriptorSourceDirectory
are disjoint, i.e., they are not combined during descriptor location calculation.| Modifier and Type | Field and Description |
|---|---|
private org.apache.maven.plugin.descriptor.PluginDescriptor |
plugin |
private org.apache.maven.project.MavenProject |
project |
appendAssemblyId, commanndLinePropertiesInterpolator, envInterpolator, mainProjectInterpolator, rootInterpolator| Constructor and Description |
|---|
SingleAssemblyMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Create the binary distribution.
|
org.apache.maven.project.MavenProject |
getProject() |
private void |
verifyRemovedParameter(java.lang.String paramName) |
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, isRecompressZippedFiles, isThisTheExecutionRoot, isUpdateOnly, isUseJvmChmod, mainProjectInterpolator, setAppendAssemblyId, setArchive, setBasedir, setDelimiters, setDescriptorRefs, setDescriptors, setFilters, setFinalName, setLocalRepository, setOutputDirectory, setReactorProjects, setSiteDirectory, setTarLongFileMode, setTempRoot, setWorkDirectory@Parameter(defaultValue="${plugin}",
readonly=true)
private org.apache.maven.plugin.descriptor.PluginDescriptor plugin
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
private org.apache.maven.project.MavenProject project
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
AbstractAssemblyMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractAssemblyMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprivate void verifyRemovedParameter(java.lang.String paramName)
public org.apache.maven.project.MavenProject getProject()
getProject in interface AssemblerConfigurationSourcegetProject in class AbstractAssemblyMojo