com.sun.enterprise.module.maven
Class PackageAnalyserMojo

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

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

Analyses bundle manifest entries in a repository and generates various statistics like: no. of bundles, no. of exported packages, package wiring details and split-packages.

Author:
Sanjeeb.Sahoo@Sun.COM

Field Summary
protected  org.apache.maven.artifact.Artifact artifact
          The maven artifact.
protected  org.apache.maven.project.MavenProject project
          The maven project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageAnalyserMojo()
           
 
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.

Constructor Detail

PackageAnalyserMojo

public PackageAnalyserMojo()
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.