Class BuildExecutor

    • Method Detail

      • willFork

        public abstract boolean willFork()
        Returns whether or not this executor will fork the maven process.
        Returns:
        true if will fork.
      • execute

        public abstract void execute​(String... args)
                              throws Exception
        Execute maven with the given arguments.
        Parameters:
        args - The maven arguments.
        Throws:
        Exception - on error.
      • execute

        public void execute​(List<String> args)
                     throws Exception
        Execute maven with the given arguments.
        Parameters:
        args - The maven arguments.
        Throws:
        Exception - on error.
      • monitor

        public BuildMonitor monitor()
        Returns the build monitor.
        Returns:
        The monitor.
      • projectDirectory

        public Path projectDirectory()
        Returns the project directory.
        Returns:
        The directory.