@Singleton
@Named
public class CommandExecutor
extends org.codehaus.plexus.logging.AbstractLogEnabled
| Constructor and Description |
|---|
CommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandConfiguration config,
org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver)
Executes CLI commands based on the configuration.
|
public void execute(CommandConfiguration config, org.jboss.galleon.universe.maven.repo.MavenRepoManager artifactResolver) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
config - the configuration used to execute the CLI commandsartifactResolver - Resolver to retrieve CLI artifact for in-process execution.org.apache.maven.plugin.MojoFailureException - if the JBoss Home directory is required and invalidorg.apache.maven.plugin.MojoExecutionException - if an error occurs executing the CLI commandsCopyright © 2021 JBoss by Red Hat. All rights reserved.