public class EAPDynamicModulesBuilderMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
assemblyFormats
The output formats for assembly descriptor.
|
protected EAPLayerDistributionManager |
distributionManager
The scanner for static modules.
|
protected String |
distributionName
The name of the dynamic module distribution to generate.
|
protected String |
outputPath
The output path for the generated artifacts and assembly files.
|
protected EAPPatchManager |
patchManager
The patch manager.
|
protected org.apache.maven.project.MavenProject |
project
The Maven project.
|
protected List<org.eclipse.aether.repository.RemoteRepository> |
remoteRepos
The project's remote repositories to use for the resolution of plugins and their dependencies.
|
protected org.eclipse.aether.RepositorySystemSession |
repoSession
The current repository/network configuration of Maven.
|
protected org.eclipse.aether.RepositorySystem |
repoSystem
The entry point to Aether, i.e. the component doing all the work.
|
protected EAPConfigurationArtifact |
staticLayerArtifact
The static layer artifact than contains all the modules and properties for the layer.
|
| Constructor and Description |
|---|
EAPDynamicModulesBuilderMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConfiguration() |
void |
execute() |
protected String |
generateJbossDeploymentStructure(Collection<EAPModuleNodeGraphDependency> staticModuleDependencies,
ZipFile war,
Document currentJbossDepStructureDoc) |
protected ZipFile |
getWarFile(EAPDynamicModule module) |
protected void |
initServices() |
protected boolean |
isWarLibrary(String fileName) |
protected Collection<EAPModuleNodeGraphDependency> |
readCurrentJBossDepStructurDependencies(Document document) |
protected org.kie.integration.eap.maven.EAPDynamicModulesBuilderMojo.EAPWarResources |
scanWarResources(ZipFile war) |
protected org.apache.maven.project.MavenProject project
protected org.eclipse.aether.RepositorySystem repoSystem
protected org.eclipse.aether.RepositorySystemSession repoSession
protected List<org.eclipse.aether.repository.RemoteRepository> remoteRepos
protected String distributionName
protected String outputPath
protected String assemblyFormats
protected EAPConfigurationArtifact staticLayerArtifact
protected EAPLayerDistributionManager distributionManager
protected EAPPatchManager patchManager
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void checkConfiguration()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void initServices()
protected ZipFile getWarFile(EAPDynamicModule module) throws IOException, org.eclipse.aether.resolution.ArtifactResolutionException
IOExceptionorg.eclipse.aether.resolution.ArtifactResolutionExceptionprotected org.kie.integration.eap.maven.EAPDynamicModulesBuilderMojo.EAPWarResources scanWarResources(ZipFile war) throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionprotected boolean isWarLibrary(String fileName)
protected String generateJbossDeploymentStructure(Collection<EAPModuleNodeGraphDependency> staticModuleDependencies, ZipFile war, Document currentJbossDepStructureDoc) throws org.apache.maven.plugin.MojoExecutionException, IOException
org.apache.maven.plugin.MojoExecutionExceptionIOExceptionprotected Collection<EAPModuleNodeGraphDependency> readCurrentJBossDepStructurDependencies(Document document)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.