Interface MavenExecutor

    • Method Detail

      • executeGoals

        void executeGoals​(java.io.File workingDirectory,
                          java.lang.String goals,
                          ReleaseEnvironment releaseEnvironment,
                          boolean interactive,
                          java.lang.String additionalArguments,
                          java.lang.String pomFileName,
                          ReleaseResult result)
                   throws MavenExecutorException
        Execute goals using Maven.
        Parameters:
        workingDirectory - the directory to execute in
        goals - the goals to run (space delimited)
        releaseEnvironment - the environmental settings, maven-home, etc used for this release
        interactive - whether to execute in interactive mode, or the default batch mode
        additionalArguments - additional arguments to pass to the Maven command
        pomFileName - the file name of the POM to execute on
        result - holds all results of the execution
        Throws:
        MavenExecutorException - if an error occurred executing Maven