|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.sun.enterprise.build.DistributionAssemblyMojo
public class DistributionAssemblyMojo
Creates a glassfish distribution image.
| Nested Class Summary | |
|---|---|
protected static interface |
AbstractGlassfishMojo.ArtifactFilter
|
| Field Summary | |
|---|---|
protected String |
finalName
The file name of the created distribution image. |
protected File |
outputDirectory
The directory where the final image will be created. |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected org.apache.maven.project.MavenProjectBuilder |
projectBuilder
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DistributionAssemblyMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected Set<org.apache.maven.artifact.Artifact> |
findArtifacts(Set<org.apache.maven.artifact.Artifact> artifacts,
AbstractGlassfishMojo.ArtifactFilter filter)
Finds artifacts that match the given filter. |
protected Set<org.apache.maven.artifact.Artifact> |
findArtifactsOfScope(Set<org.apache.maven.artifact.Artifact> artifacts,
String scope)
|
protected Set<org.apache.maven.artifact.Artifact> |
findArtifactsOfType(Set<org.apache.maven.artifact.Artifact> artifacts,
String type)
Returns a set of Artifacts that have the given type. |
protected boolean |
isModule(org.apache.maven.artifact.Artifact a)
|
protected org.apache.maven.project.MavenProject |
loadPom(org.apache.maven.artifact.Artifact artifact)
Resolves the POM of the given artifact and parses it into MavenProject. |
| 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 File outputDirectory
protected String finalName
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.project.MavenProjectBuilder projectBuilder
| Constructor Detail |
|---|
public DistributionAssemblyMojo()
| 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 boolean isModule(org.apache.maven.artifact.Artifact a)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected org.apache.maven.project.MavenProject loadPom(org.apache.maven.artifact.Artifact artifact)
throws org.apache.maven.project.ProjectBuildingException
MavenProject.
org.apache.maven.project.ProjectBuildingException
protected Set<org.apache.maven.artifact.Artifact> findArtifacts(Set<org.apache.maven.artifact.Artifact> artifacts,
AbstractGlassfishMojo.ArtifactFilter filter)
protected Set<org.apache.maven.artifact.Artifact> findArtifactsOfType(Set<org.apache.maven.artifact.Artifact> artifacts,
String type)
Artifacts that have the given type.
protected Set<org.apache.maven.artifact.Artifact> findArtifactsOfScope(Set<org.apache.maven.artifact.Artifact> artifacts,
String scope)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||