Interface ResourceGenerator

All Known Implementing Classes:
AbstractRewritePomsPhase, CreateBackupPomsPhase, GenerateReleasePomsPhase, RewritePomsForBranchPhase, RewritePomsForDevelopmentPhase, RewritePomsForReleasePhase, RewritePomVersionsPhase

public interface ResourceGenerator
Additional interface for ReleasePhase if the phase generates resources, which should be cleaned up afterwards.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    clean(List<org.apache.maven.project.MavenProject> reactorProjects)
    Clean up after a phase if it leaves any additional files in the checkout.
  • Method Details

    • clean

      ReleaseResult clean(List<org.apache.maven.project.MavenProject> reactorProjects)
      Clean up after a phase if it leaves any additional files in the checkout.
      Parameters:
      reactorProjects - the reactor projects
      Returns:
      the release result