Class ReactorChecker
java.lang.Object
org.netbeans.modules.maven.execute.ReactorChecker
- All Implemented Interfaces:
PrerequisitesChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkRunConfig
(RunConfig config) static NbMavenProject
findReactor
(NbMavenProject module) Tries to find the reactor root starting from what may be just a submodule.
-
Constructor Details
-
ReactorChecker
public ReactorChecker()
-
-
Method Details
-
checkRunConfig
- Specified by:
checkRunConfig
in interfacePrerequisitesChecker
- Parameters:
config
-- Returns:
- true if the execution shall continue., otherwise it will be aborted.
-
findReactor
Tries to find the reactor root starting from what may be just a submodule. The intent is that runningmvn -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
-