org.kie.integration.eap.maven
Class EAPStaticModulesBuilderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kie.integration.eap.maven.EAPBaseMojo
org.kie.integration.eap.maven.EAPStaticModulesBuilderMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class EAPStaticModulesBuilderMojo
- extends EAPBaseMojo
This plugin mojo generates a static layer definition and the assembly files to assemble it.
Field Summary |
protected String |
assemblyFormats
The output formats for assembly descriptor. |
protected String |
outputPath
The output path for the genrated module descriptor and assembly files. |
Fields inherited from class org.kie.integration.eap.maven.EAPBaseMojo |
artifactsHolder, baseModule, baseModulesLayer, baseModulesScanner, container, distribution, distributionManager, distributionName, failOnMissingDependency, failOnUnresolvableResource, failOnVersionMismatchedResource, graphOutputFile, includeOptionalDependencies, modulesDependencyBuilder, modulesGraphBuilder, project, remoteRepos, repoSession, repoSystem, staticDependencies, staticModulesLayer, staticModulesScanner |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.kie.integration.eap.maven.EAPBaseMojo |
checkConfiguration, checkMissingDependencies, checkResources, collectArtifacts, generateModulesDependencies, generateModulesGraph, getAllLayers, getBaseLayerExclusions, getBaseModulesArtifact, getStaticDistributionDependencies, initServices, loadBaseLayer, loadStaticLayer |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputPath
protected String outputPath
- The output path for the genrated module descriptor and assembly files.
The resulting assembly descriptor file will be created in this path.
assemblyFormats
protected String assemblyFormats
- The output formats for assembly descriptor. Use comma-separated values.
EAPStaticModulesBuilderMojo
public EAPStaticModulesBuilderMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class EAPBaseMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
writeDistributionProperties
protected void writeDistributionProperties()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
generateGlobalAssembly
protected String generateGlobalAssembly(String layerId,
String[] formats,
String layerDescriptorFilePath,
String[] componentDescriptorsFilePaths)
generateModuleDescriptor
protected String generateModuleDescriptor(EAPModuleGraphNode node)
generateModuleAssemblyComponent
protected String generateModuleAssemblyComponent(EAPModuleGraphNode node,
String moduleDescriptorPath,
String outputPath)
generateLayersDescriptor
protected String generateLayersDescriptor(EAPModulesGraph graph)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.