Class AbstractSiteDescriptorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.site.AbstractSiteMojo
org.apache.maven.plugins.site.descriptor.AbstractSiteDescriptorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractSiteRenderingMojo, EffectiveSiteMojo, SiteDescriptorAttachMojo

public abstract class AbstractSiteDescriptorMojo extends AbstractSiteMojo
Abstract class to compute effective site decoration model for site descriptors.
Since:
3.5
  • Field Details

    • assembler

      @Component private org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritanceAssembler assembler
      The component for assembling site decoration model inheritance.
    • repositories

      @Parameter(defaultValue="${project.remoteArtifactRepositories}", readonly=true) protected List<org.apache.maven.artifact.repository.ArtifactRepository> repositories
      Remote repositories used for the project.
    • siteDirectory

      @Parameter(defaultValue="${basedir}/src/site") protected File siteDirectory
      Directory containing the site.xml file and the source for hand written docs (one directory per Doxia-source-supported markup types): see Doxia Markup Languages References).
      Since:
      2.3
  • Constructor Details

    • AbstractSiteDescriptorMojo

      public AbstractSiteDescriptorMojo()
  • Method Details

    • prepareDecorationModel

      protected org.apache.maven.doxia.site.decoration.DecorationModel prepareDecorationModel(Locale locale) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • append

      private String append(String url, String path)