Class CommandExecutor

    • Constructor Detail

      • CommandExecutor

        public CommandExecutor()
    • Method Detail

      • execute

        public void execute​(CommandConfiguration config,
                            org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver)
                     throws org.apache.maven.plugin.MojoFailureException,
                            org.apache.maven.plugin.MojoExecutionException
        Executes CLI commands based on the configuration.
        Specified by:
        execute in class AbstractCommandExecutor<CommandConfiguration>
        Parameters:
        config - the configuration used to execute the CLI commands
        artifactResolver - Resolver to retrieve CLI artifact for in-process execution.
        Throws:
        org.apache.maven.plugin.MojoFailureException - if the JBoss Home directory is required and invalid
        org.apache.maven.plugin.MojoExecutionException - if an error occurs executing the CLI commands