public abstract class AbstractAssemblyMojo extends AbstractMojo implements AssemblerConfigurationSource
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
commanndLinePropertiesInterpolator |
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
envInterpolator |
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
mainProjectInterpolator |
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
rootInterpolator |
Constructor and Description |
---|
AbstractAssemblyMojo() |
getLog, getPluginContext, setLog, setPluginContext
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator commanndLinePropertiesInterpolator
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator envInterpolator
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator mainProjectInterpolator
protected org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator rootInterpolator
public void execute() throws MojoExecutionException, MojoFailureException
execute
in interface Mojo
MojoExecutionException
MojoFailureException
public File getBasedir()
getBasedir
in interface AssemblerConfigurationSource
@Deprecated public String getDescriptor()
getDescriptors()
getDescriptor
in interface AssemblerConfigurationSource
@Deprecated public String getDescriptorId()
getDescriptorReferences()
getDescriptorId
in interface AssemblerConfigurationSource
public String[] getDescriptorReferences()
getDescriptorReferences
in interface AssemblerConfigurationSource
public File getDescriptorSourceDirectory()
getDescriptorSourceDirectory
in interface AssemblerConfigurationSource
public String[] getDescriptors()
getDescriptors
in interface AssemblerConfigurationSource
public abstract MavenProject getProject()
getProject
in interface AssemblerConfigurationSource
public File getSiteDirectory()
getSiteDirectory
in interface AssemblerConfigurationSource
public boolean isSiteIncluded()
isSiteIncluded
in interface AssemblerConfigurationSource
public String getFinalName()
getFinalName
in interface AssemblerConfigurationSource
public boolean isAssemblyIdAppended()
isAssemblyIdAppended
in interface AssemblerConfigurationSource
public String getTarLongFileMode()
getTarLongFileMode
in interface AssemblerConfigurationSource
public File getOutputDirectory()
getOutputDirectory
in interface AssemblerConfigurationSource
public MavenArchiveConfiguration getJarArchiveConfiguration()
getJarArchiveConfiguration
in interface AssemblerConfigurationSource
public File getWorkingDirectory()
getWorkingDirectory
in interface AssemblerConfigurationSource
public ArtifactRepository getLocalRepository()
getLocalRepository
in interface AssemblerConfigurationSource
public File getTemporaryRootDirectory()
getTemporaryRootDirectory
in interface AssemblerConfigurationSource
public File getArchiveBaseDirectory()
getArchiveBaseDirectory
in interface AssemblerConfigurationSource
public List<String> getFilters()
getFilters
in interface AssemblerConfigurationSource
public boolean isIncludeProjectBuildFilters()
isIncludeProjectBuildFilters
in interface AssemblerConfigurationSource
public List<MavenProject> getReactorProjects()
getReactorProjects
in interface AssemblerConfigurationSource
public String getClassifier()
getClassifier
in interface AssemblerConfigurationSource
protected MavenProjectHelper getProjectHelper()
public void setAppendAssemblyId(boolean appendAssemblyId)
public void setArchive(MavenArchiveConfiguration archive)
public void setBasedir(File basedir)
public void setClassifier(String classifier)
@Deprecated public void setDescriptor(String descriptor)
setDescriptors(String[])
@Deprecated public void setDescriptorId(String descriptorId)
setDescriptorRefs(String[])
public void setDescriptorRefs(String[] descriptorRefs)
public void setDescriptors(String[] descriptors)
public void setDescriptorSourceDirectory(File descriptorSourceDirectory)
public void setFinalName(String finalName)
public void setIncludeSite(boolean includeSite)
public void setLocalRepository(ArtifactRepository localRepository)
public void setOutputDirectory(File outputDirectory)
public void setProjectHelper(MavenProjectHelper projectHelper)
public void setReactorProjects(List<MavenProject> reactorProjects)
public void setSiteDirectory(File siteDirectory)
public void setTarLongFileMode(String tarLongFileMode)
public void setTempRoot(File tempRoot)
public void setWorkDirectory(File workDirectory)
public List<ArtifactRepository> getRemoteRepositories()
getRemoteRepositories
in interface AssemblerConfigurationSource
public boolean isDryRun()
isDryRun
in interface AssemblerConfigurationSource
public boolean isIgnoreDirFormatExtensions()
isIgnoreDirFormatExtensions
in interface AssemblerConfigurationSource
public boolean isIgnoreMissingDescriptor()
isIgnoreMissingDescriptor
in interface AssemblerConfigurationSource
public void setIgnoreMissingDescriptor(boolean ignoreMissingDescriptor)
public MavenSession getMavenSession()
getMavenSession
in interface AssemblerConfigurationSource
public String getArchiverConfig()
getArchiverConfig
in interface AssemblerConfigurationSource
public MavenReaderFilter getMavenReaderFilter()
AssemblerConfigurationSource
getMavenReaderFilter
in interface AssemblerConfigurationSource
public boolean isUpdateOnly()
isUpdateOnly
in interface AssemblerConfigurationSource
public boolean isUseJvmChmod()
isUseJvmChmod
in interface AssemblerConfigurationSource
public boolean isIgnorePermissions()
isIgnorePermissions
in interface AssemblerConfigurationSource
public String getEncoding()
getEncoding
in interface AssemblerConfigurationSource
public String getEscapeString()
getEscapeString
in interface AssemblerConfigurationSource
public List<String> getDelimiters()
getDelimiters
in interface AssemblerConfigurationSource
@Nonnull public org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator getCommandLinePropsInterpolator()
AssemblerConfigurationSource
getCommandLinePropsInterpolator
in interface AssemblerConfigurationSource
@Nonnull public org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator getEnvInterpolator()
AssemblerConfigurationSource
getEnvInterpolator
in interface AssemblerConfigurationSource
@Nonnull public org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator getRepositoryInterpolator()
getRepositoryInterpolator
in interface AssemblerConfigurationSource
@Nonnull public org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator getMainProjectInterpolator()
getMainProjectInterpolator
in interface AssemblerConfigurationSource
public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator mainProjectInterpolator(MavenProject mainProject)
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.