|
KIE EAP - Maven plugin 6.1.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.kie.integration.eap.maven.EAPBaseMojo
public abstract class EAPBaseMojo
Field Summary | |
---|---|
protected EAPArtifactsHolder |
artifactsHolder
Collection to store all resources and its modules. |
protected EAPConfigurationArtifact |
baseModule
The maven module that contains all base EAP/AS modules for a given version. |
protected EAPLayer |
baseModulesLayer
The base module layer. |
protected EAPModulesScanner |
baseModulesScanner
The scanner for base modules. |
protected EAPContainer |
container
The target container. |
protected EAPStaticLayerDistribution |
distribution
The modules distribution generated. |
protected EAPLayerDistributionManager |
distributionManager
The scanner for base modules. |
protected String |
distributionName
The name of the JBoss EAP layer distrubtion to geneate. |
protected Boolean |
failOnMissingDependency
The flag that indicates if the build must fail when a dependency to a module resource is not satisfied. |
protected Boolean |
failOnUnresolvableResource
The flag that indicates if the build must fail when a module resource cannot be resolved in current project dependency tree. |
protected Boolean |
failOnVersionMismatchedResource
The flag that indicates if the build must fail when a module version for a resource is not resolvable in current project dependencies. |
protected String |
graphOutputFile
The file to print the generated distribution graph. |
protected Boolean |
includeOptionalDependencies
The flag that indicates if the optional dependencies must be scanned in the current project dependency tree. |
protected EAPModulesDependencyBuilder |
modulesDependencyBuilder
The scanner for base modules. |
protected EAPModulesGraphBuilder |
modulesGraphBuilder
The scanner for base modules. |
protected org.apache.maven.project.MavenProject |
project
The Maven project. |
protected List<org.sonatype.aether.repository.RemoteRepository> |
remoteRepos
The project's remote repositories to use for the resolution of plugins and their dependencies. |
protected org.sonatype.aether.RepositorySystemSession |
repoSession
The current repository/network configuration of Maven. |
protected org.sonatype.aether.RepositorySystem |
repoSystem
The entry point to Aether, i.e. the component doing all the work. |
protected List<EAPConfigurationModuleDependency> |
staticDependencies
The static dependencies for this distribution modules. |
protected EAPLayer |
staticModulesLayer
The static module layer. |
protected EAPModulesScanner |
staticModulesScanner
The scanner for static modules. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
protected |
EAPBaseMojo()
|
Method Summary | |
---|---|
protected void |
checkConfiguration()
|
protected void |
checkMissingDependencies()
|
protected void |
checkResources()
|
protected EAPArtifactsHolder |
collectArtifacts(org.sonatype.aether.graph.DependencyNode rootNode)
|
void |
execute()
|
protected void |
generateModulesDependencies(org.sonatype.aether.graph.DependencyNode rootNode)
Given the root dependency node for the maven artifacts, runs the modules dependencies resolution. |
protected EAPModulesGraph |
generateModulesGraph()
|
protected Collection<EAPLayer> |
getAllLayers()
|
protected Collection<org.sonatype.aether.artifact.Artifact> |
getBaseLayerExclusions()
Retuns the modules excluded from the maven base layer module definition.. |
protected org.sonatype.aether.artifact.Artifact |
getBaseModulesArtifact()
Returns the artifact instance that contains all base modules definitions for a EAP/AS specific version. |
protected Collection<EAPStaticDistributionModuleDependency> |
getStaticDistributionDependencies()
|
protected void |
initServices()
|
protected EAPLayer |
loadBaseLayer()
|
protected EAPLayer |
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 |
Field Detail |
---|
protected org.apache.maven.project.MavenProject project
protected org.sonatype.aether.RepositorySystem repoSystem
protected org.sonatype.aether.RepositorySystemSession repoSession
protected List<org.sonatype.aether.repository.RemoteRepository> remoteRepos
protected String distributionName
protected EAPConfigurationArtifact baseModule
protected List<EAPConfigurationModuleDependency> staticDependencies
protected String graphOutputFile
protected Boolean failOnMissingDependency
protected Boolean failOnUnresolvableResource
protected Boolean failOnVersionMismatchedResource
protected Boolean includeOptionalDependencies
protected EAPModulesScanner staticModulesScanner
protected EAPModulesScanner baseModulesScanner
protected EAPModulesDependencyBuilder modulesDependencyBuilder
protected EAPModulesGraphBuilder modulesGraphBuilder
protected EAPLayerDistributionManager distributionManager
protected transient EAPArtifactsHolder artifactsHolder
protected EAPLayer staticModulesLayer
protected EAPLayer baseModulesLayer
protected EAPContainer container
protected EAPStaticLayerDistribution distribution
Constructor Detail |
---|
protected EAPBaseMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void checkResources() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void checkMissingDependencies() throws EAPModulesDependencyBuilderException
EAPModulesDependencyBuilderException
protected void checkConfiguration() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
protected void initServices()
protected Collection<org.sonatype.aether.artifact.Artifact> getBaseLayerExclusions()
protected org.sonatype.aether.artifact.Artifact getBaseModulesArtifact()
protected Collection<EAPStaticDistributionModuleDependency> getStaticDistributionDependencies() throws EAPModuleDefinitionException
EAPModuleDefinitionException
protected EAPArtifactsHolder collectArtifacts(org.sonatype.aether.graph.DependencyNode rootNode)
protected EAPLayer loadStaticLayer() throws EAPModulesDefinitionException, EAPModuleDefinitionException
EAPModulesDefinitionException
EAPModuleDefinitionException
protected EAPLayer loadBaseLayer() throws EAPModulesDefinitionException, EAPModuleDefinitionException
EAPModulesDefinitionException
EAPModuleDefinitionException
protected void generateModulesDependencies(org.sonatype.aether.graph.DependencyNode rootNode) throws EAPModulesDependencyBuilderException
EAPModulesDependencyBuilderException
protected EAPModulesGraph generateModulesGraph()
protected Collection<EAPLayer> getAllLayers()
|
KIE EAP - Maven plugin 6.1.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |