public abstract class AbstractModulizeMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
mainModule |
protected File |
modulesDirectory |
| Constructor and Description |
|---|
AbstractModulizeMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected URL |
artifactURL(org.apache.maven.artifact.Artifact dep) |
protected void |
checkParams() |
void |
execute() |
protected org.apache.maven.artifact.Artifact |
findDependency(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> test) |
protected org.apache.maven.artifact.Artifact |
findJBossModules() |
protected org.apache.maven.artifact.Artifact |
findLauncherPlugin() |
protected org.apache.maven.artifact.Artifact |
findModulizerBootstrap() |
protected org.apache.maven.artifact.Artifact |
findPreparePlugin() |
protected abstract void |
safeExecute() |
@Parameter(property="module",
required=true)
protected String mainModule
@Parameter(defaultValue="${project.build.directory}/modules",
required=true)
protected File modulesDirectory
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void checkParams()
protected org.apache.maven.artifact.Artifact findDependency(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> test)
throws NoSuchElementException
NoSuchElementExceptionprotected org.apache.maven.artifact.Artifact findModulizerBootstrap()
protected org.apache.maven.artifact.Artifact findPreparePlugin()
protected org.apache.maven.artifact.Artifact findLauncherPlugin()
protected org.apache.maven.artifact.Artifact findJBossModules()
protected URL artifactURL(org.apache.maven.artifact.Artifact dep) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract void safeExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2013. All Rights Reserved.