@Component(role=AssemblyReader.class) public class DefaultAssemblyReader extends org.codehaus.plexus.logging.AbstractLogEnabled implements AssemblyReader
| Constructor and Description |
|---|
DefaultAssemblyReader() |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator |
createProjectInterpolator(MavenProject project) |
Assembly |
getAssemblyForDescriptorReference(String ref,
AssemblerConfigurationSource configSource) |
Assembly |
getAssemblyFromDescriptorFile(File file,
AssemblerConfigurationSource configSource) |
protected org.codehaus.plexus.logging.Logger |
getLogger() |
void |
includeSiteInAssembly(Assembly assembly,
AssemblerConfigurationSource configSource) |
protected void |
mergeComponentsWithMainAssembly(Assembly assembly,
File assemblyDir,
AssemblerConfigurationSource configSource,
ComponentXpp3Reader.ContentTransformer transformer)
Add the contents of all included components to main assembly
|
protected void |
mergeComponentWithAssembly(Component component,
Assembly assembly)
Add the content of a single Component to main assembly
|
List<Assembly> |
readAssemblies(AssemblerConfigurationSource configSource) |
Assembly |
readAssembly(Reader reader,
String locationDescription,
File assemblyDir,
AssemblerConfigurationSource configSource) |
public List<Assembly> readAssemblies(AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
readAssemblies in interface AssemblyReaderAssemblyReadExceptionInvalidAssemblerConfigurationExceptionpublic Assembly getAssemblyForDescriptorReference(String ref, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
getAssemblyForDescriptorReference in interface AssemblyReaderAssemblyReadExceptionInvalidAssemblerConfigurationExceptionpublic Assembly getAssemblyFromDescriptorFile(File file, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
getAssemblyFromDescriptorFile in interface AssemblyReaderAssemblyReadExceptionInvalidAssemblerConfigurationExceptionpublic Assembly readAssembly(Reader reader, String locationDescription, File assemblyDir, AssemblerConfigurationSource configSource) throws AssemblyReadException, InvalidAssemblerConfigurationException
public static org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator createProjectInterpolator(MavenProject project)
protected void mergeComponentsWithMainAssembly(Assembly assembly, File assemblyDir, AssemblerConfigurationSource configSource, ComponentXpp3Reader.ContentTransformer transformer) throws AssemblyReadException
assembly - The assemblyassemblyDir - The assembly directorytransformer - The component interpolatorAssemblyReadException - .protected void mergeComponentWithAssembly(Component component, Assembly assembly)
component - The componentassembly - The assemblypublic void includeSiteInAssembly(Assembly assembly, AssemblerConfigurationSource configSource) throws InvalidAssemblerConfigurationException
includeSiteInAssembly in interface AssemblyReaderInvalidAssemblerConfigurationExceptionprotected org.codehaus.plexus.logging.Logger getLogger()
getLogger in class org.codehaus.plexus.logging.AbstractLogEnabledCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.