Class AjcReportMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.aspectj.AjcReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport

@Mojo(name="aspectj-report", requiresDependencyResolution=COMPILE) public class AjcReportMojo extends org.apache.maven.reporting.AbstractMavenReport
Creates an AspectJ HTML report using the ajdoc tool and format. A Maven 2.0 ajdoc report
Author:
Kaare Nilsen
  • Field Details

    • packageScope

      @Parameter protected boolean packageScope
      Shows only package, protected, and public classes and members.
    • protectedScope

      @Parameter protected boolean protectedScope
      Shows only protected and public classes and members. This is the default.
    • privateScope

      @Parameter protected boolean privateScope
      Shows all classes and members.
    • publicScope

      @Parameter protected boolean publicScope
      Shows only public classes and members.
    • overview

      @Parameter protected String overview
      Specifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by path/filename and place it on the Overview page (overview-summary.html). The path/filename is relative to the ${basedir}. While you can use any name you want for filename and place it anywhere you want for path, a typical thing to do is to name it overview.html and place it in the source tree at the directory that contains the topmost package directories. In this location, no path is needed when documenting packages, since -sourcepath will point to this file. For example, if the source tree for the java.lang package is /src/classes/java/lang/, then you could place the overview file at /src/classes/overview.html. See Real World Example. For information about the file specified by path/filename, see overview comment file.Note that the overview page is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) The title on the overview page is set by -doctitle.
    • doctitle

      @Parameter protected String doctitle
      Specifies the title to be placed near the top of the overview summary file. The title will be placed as a centered, level-one heading directly beneath the upper navigation bar. The title may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within title may have to be escaped.
    • verbose

      @Parameter protected boolean verbose
      Provides more detailed messages while javadoc is running. Without the verbose option, messages appear for loading the source files, generating the documentation (one message per source file), and sorting. The verbose option causes the printing of additional messages specifying the number of milliseconds to parse each java source file.
    • complianceLevel

      @Parameter(defaultValue="${mojo.java.target}") protected String complianceLevel
      Specify compiler compliance setting (1.3 to 1.8, default is 1.5)
  • Constructor Details

    • AjcReportMojo

      public AjcReportMojo()
  • Method Details

    • executeReport

      protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
      Executes this ajdoc-report generation.
      Specified by:
      executeReport in class org.apache.maven.reporting.AbstractMavenReport
      Throws:
      org.apache.maven.reporting.MavenReportException
    • getSourceDirectories

      protected List<String> getSourceDirectories()
      Returns:
      list of source directories
    • getOutputDirectory

      protected String getOutputDirectory()
      get report output directory.
      Overrides:
      getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
    • getClasspathDirectories

      protected List<String> getClasspathDirectories()
      Returns:
      list of classpath directories
    • getOutputName

      public String getOutputName()
    • getName

      public String getName(Locale locale)
    • getDescription

      public String getDescription(Locale locale)
    • isExternalReport

      public boolean isExternalReport()
      Specified by:
      isExternalReport in interface org.apache.maven.reporting.MavenReport
      Overrides:
      isExternalReport in class org.apache.maven.reporting.AbstractMavenReport
      See Also:
      • AbstractMavenReport.isExternalReport()
    • canGenerateReport

      public boolean canGenerateReport()
      Specified by:
      canGenerateReport in interface org.apache.maven.reporting.MavenReport
      Overrides:
      canGenerateReport in class org.apache.maven.reporting.AbstractMavenReport
      See Also:
      • AbstractMavenReport.canGenerateReport()
    • getSiteRenderer

      protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
      Get the site renderer.
      Overrides:
      getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReport
    • getProject

      protected org.apache.maven.project.MavenProject getProject()
      Get the maven project.
      Overrides:
      getProject in class org.apache.maven.reporting.AbstractMavenReport
    • setOverview

      public void setOverview(String overview)
    • setDoctitle

      public void setDoctitle(String doctitle)
    • setPackageScope

      public void setPackageScope(boolean packageScope)
    • setPrivateScope

      public void setPrivateScope(boolean privateScope)
    • setProtectedScope

      public void setProtectedScope(boolean protectedScope)
    • setPublicScope

      public void setPublicScope(boolean publicScope)
    • setVerbose

      public void setVerbose(boolean verbose)
    • setComplianceLevel

      public void setComplianceLevel(String complianceLevel)
      Set source compliance level
      Parameters:
      complianceLevel - compliance level
    • setPluginArtifacts

      public void setPluginArtifacts(List<org.apache.maven.artifact.Artifact> pluginArtifacts)