com.sun.enterprise.module.maven
Class DependencyAnalyserMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.sun.enterprise.module.maven.DependencyAnalyserMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DependencyAnalyserMojo
extends org.apache.maven.plugin.AbstractMojo

Does static analysis of classes in a module to ensure that module dependency is correctly set up.

Author:
Sanjeeb.Sahoo@Sun.COM

Field Summary
protected  org.apache.maven.artifact.Artifact artifact
          The maven artifact.
protected  String finalName
          Name of the generated JAR.
protected  File outputDirectory
          Directory containing the generated JAR.
protected  org.apache.maven.project.MavenProject project
          The maven project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DependencyAnalyserMojo()
           
 
Method Summary
 void execute()
           
 
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

project

protected org.apache.maven.project.MavenProject project
The maven project.


artifact

protected org.apache.maven.artifact.Artifact artifact
The maven artifact.


outputDirectory

protected File outputDirectory
Directory containing the generated JAR.


finalName

protected String finalName
Name of the generated JAR.

Constructor Detail

DependencyAnalyserMojo

public DependencyAnalyserMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2012 Oracle Corporation. All Rights Reserved.