Class IMHLifecycleParticipant

java.lang.Object
org.apache.maven.AbstractMavenLifecycleParticipant
tel.panfilov.maven.extensions.imh.IMHLifecycleParticipant

@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class)
public class IMHLifecycleParticipant
extends org.apache.maven.AbstractMavenLifecycleParticipant
  • Field Summary

    Fields
    Modifier and Type Field Description
    static String ENABLED_FLAG  
  • Constructor Summary

    Constructors
    Constructor Description
    IMHLifecycleParticipant()  
  • Method Summary

    Modifier and Type Method Description
    void afterProjectsRead​(org.apache.maven.execution.MavenSession session)  
    void afterSessionStart​(org.apache.maven.execution.MavenSession session)  
    protected List<org.apache.maven.project.MavenProject> collectWorkspaceProjects​(org.apache.maven.project.MavenProject rootProject, org.apache.maven.execution.MavenExecutionRequest request, org.eclipse.aether.RepositorySystemSession repositorySystemSession)  
    protected org.apache.maven.project.MavenProject getProject​(org.apache.maven.execution.MavenExecutionRequest request, org.eclipse.aether.RepositorySystemSession repositorySystemSession)  
    protected boolean isEnabled​(org.apache.maven.execution.MavenSession session)  
    protected void setupWorkspaceReader​(org.apache.maven.execution.MavenSession mavenSession)  
    protected org.eclipse.aether.RepositorySystemSession tempRepositorySession​(org.apache.maven.execution.MavenSession session)  

    Methods inherited from class org.apache.maven.AbstractMavenLifecycleParticipant

    afterSessionEnd

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • IMHLifecycleParticipant

      public IMHLifecycleParticipant()
  • Method Details

    • afterSessionStart

      public void afterSessionStart​(org.apache.maven.execution.MavenSession session) throws org.apache.maven.MavenExecutionException
      Overrides:
      afterSessionStart in class org.apache.maven.AbstractMavenLifecycleParticipant
      Throws:
      org.apache.maven.MavenExecutionException
    • afterProjectsRead

      public void afterProjectsRead​(org.apache.maven.execution.MavenSession session) throws org.apache.maven.MavenExecutionException
      Overrides:
      afterProjectsRead in class org.apache.maven.AbstractMavenLifecycleParticipant
      Throws:
      org.apache.maven.MavenExecutionException
    • setupWorkspaceReader

      protected void setupWorkspaceReader​(org.apache.maven.execution.MavenSession mavenSession)
    • getProject

      protected org.apache.maven.project.MavenProject getProject​(org.apache.maven.execution.MavenExecutionRequest request, org.eclipse.aether.RepositorySystemSession repositorySystemSession) throws org.apache.maven.project.ProjectBuildingException, org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Throws:
      org.apache.maven.project.ProjectBuildingException
      org.codehaus.plexus.component.repository.exception.ComponentLookupException
    • collectWorkspaceProjects

      protected List<org.apache.maven.project.MavenProject> collectWorkspaceProjects​(org.apache.maven.project.MavenProject rootProject, org.apache.maven.execution.MavenExecutionRequest request, org.eclipse.aether.RepositorySystemSession repositorySystemSession) throws org.apache.maven.project.ProjectBuildingException, org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Throws:
      org.apache.maven.project.ProjectBuildingException
      org.codehaus.plexus.component.repository.exception.ComponentLookupException
    • isEnabled

      protected boolean isEnabled​(org.apache.maven.execution.MavenSession session)
    • tempRepositorySession

      protected org.eclipse.aether.RepositorySystemSession tempRepositorySession​(org.apache.maven.execution.MavenSession session)