Class AbstractGoOfflineMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    ResolveDependenciesMojo

    public abstract class AbstractGoOfflineMojo
    extends org.apache.maven.plugin.AbstractMojo
    Base class for mojos in the in the go-offline maven plugin.

    Provides access to parameters and injected configuration needed by the plugin.

    Also provides functionality to schedule tasks for asynchronous completion.

    Author:
    Andreas Janning andreas.janning@qaware.de
    • Field Summary

      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.maven.project.ProjectBuildingRequest getBuildingRequest()  
      protected java.util.List<org.apache.maven.project.MavenProject> getReactorProjects()  
      • 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
      • Methods inherited from interface org.apache.maven.plugin.Mojo

        execute
    • Constructor Detail

      • AbstractGoOfflineMojo

        public AbstractGoOfflineMojo()
    • Method Detail

      • getBuildingRequest

        protected org.apache.maven.project.ProjectBuildingRequest getBuildingRequest()
        Returns:
        a building request initialized with the data of the current maven session
      • getReactorProjects

        protected java.util.List<org.apache.maven.project.MavenProject> getReactorProjects()
        Returns:
        the full list of projects in the current build-reactor