Class ReactorChecker

java.lang.Object
org.netbeans.modules.maven.execute.ReactorChecker
All Implemented Interfaces:
PrerequisitesChecker

public class ReactorChecker extends Object implements PrerequisitesChecker
  • Constructor Details

    • ReactorChecker

      public ReactorChecker()
  • Method Details

    • checkRunConfig

      public boolean checkRunConfig(RunConfig config)
      Specified by:
      checkRunConfig in interface PrerequisitesChecker
      Parameters:
      config -
      Returns:
      true if the execution shall continue., otherwise it will be aborted.
    • findReactor

      @NonNull public static NbMavenProject findReactor(@NonNull NbMavenProject module)
      Tries to find the reactor root starting from what may be just a submodule. The intent is that running mvn -f $reactor/pom.xml --projects $module would work.
      Parameters:
      module - a project to start the search at
      Returns:
      its apparent reactor root; maybe just the same project