Class ForkedMavenExecutor

    • Constructor Detail

      • ForkedMavenExecutor

        public ForkedMavenExecutor​(Path projectDir,
                                   BuildMonitor monitor,
                                   int maxBuildWaitSeconds)
        Constructor.
        Parameters:
        projectDir - The project directory.
        monitor - The build monitor. All output is written to BuildMonitor.stdOutConsumer() and BuildMonitor.stdErrConsumer().
        maxBuildWaitSeconds - The maximum number of seconds to wait for a build to complete.
    • Method Detail

      • willFork

        public boolean willFork()
        Description copied from class: BuildExecutor
        Returns whether or not this executor will fork the maven process.
        Specified by:
        willFork in class BuildExecutor
        Returns:
        true if will fork.