Class AbstractRepositoryMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CollectArtifactsMojo, RepositoryMojo

public abstract class AbstractRepositoryMojo
extends AbstractIncludingFeatureMojo
  • Constructor Details

    • AbstractRepositoryMojo

      public AbstractRepositoryMojo()
  • Method Details

    • execute

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

      protected void doExecute​(File artifactDir, Map<String,​org.apache.sling.feature.Feature> features, List<org.apache.maven.model.Dependency> embed) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • getLocalFeature

      protected org.apache.sling.feature.Feature getLocalFeature​(org.apache.sling.feature.ArtifactId id)
    • processFeature

      protected void processFeature​(File artifactDir, org.apache.sling.feature.Feature f) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException