public class EAPStaticModulesBuilderMojo extends EAPBaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
assemblyFormats
The output formats for assembly descriptor.
|
protected Boolean |
generateLayersDefinition
Indicates if layers definition file (named layers.conf) must be created inside the distribution;
|
protected String |
outputPath
The output path for the genrated module descriptor and assembly files.
|
artifactsHolder, baseModule, baseModulesLayer, baseModulesScanner, container, distribution, distributionManager, distributionName, failOnMissingDependency, failOnUnresolvableResource, failOnVersionMismatchedResource, graphOutputFile, includeOptionalDependencies, modulesDependencyBuilder, modulesGraphBuilder, project, remoteRepos, repoSession, repoSystem, staticDependencies, staticModulesLayer, staticModulesScanner| Constructor and Description |
|---|
EAPStaticModulesBuilderMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
generateGlobalAssembly(String layerId,
String[] formats,
String layerDescriptorFilePath,
String[] componentDescriptorsFilePaths) |
protected String |
generateLayersDescriptor(EAPModulesGraph graph) |
protected String |
generateModuleAssemblyComponent(EAPModuleGraphNode node,
String moduleDescriptorPath,
String outputPath) |
protected String |
generateModuleDescriptor(EAPModuleGraphNode node) |
protected void |
writeDistributionProperties() |
checkConfiguration, checkMissingDependencies, checkResources, collectArtifacts, generateModulesDependencies, generateModulesGraph, getAllLayers, getBaseLayerExclusions, getBaseModulesArtifact, getStaticDistributionDependencies, initServices, loadBaseLayer, loadStaticLayerprotected String outputPath
protected String assemblyFormats
protected Boolean generateLayersDefinition
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class EAPBaseMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void writeDistributionProperties()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected String generateGlobalAssembly(String layerId, String[] formats, String layerDescriptorFilePath, String[] componentDescriptorsFilePaths)
protected String generateModuleDescriptor(EAPModuleGraphNode node)
protected String generateModuleAssemblyComponent(EAPModuleGraphNode node, String moduleDescriptorPath, String outputPath)
protected String generateLayersDescriptor(EAPModulesGraph graph)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.