Package org.apache.maven.cli
Class KieMavenCli
- java.lang.Object
-
- org.apache.maven.cli.MavenCli
-
- org.apache.maven.cli.KieMavenCli
-
public class KieMavenCli extends org.apache.maven.cli.MavenCliThis is an extension of the default MavenCli implementation to allow maven invocation concurrently. The main issues found are: - OptionsBuilder class is not thread safe and thus multiple threads doing doMain will run into race conditions modifying different entries of the options - projectRoot by default is allowed to be set via system properties which does not make sense in concurrent builds env - -D options from arguments of doMain should not be set as system properties as that will corrupt different buildsThis is considered as workaround for the time being ... though it's unclear if we can get these fixed in maven/cli itself.
-
-
Constructor Summary
Constructors Constructor Description KieMavenCli(String projectRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoMain(org.apache.maven.cli.CliRequest cliRequest)
-
-
-
Constructor Detail
-
KieMavenCli
public KieMavenCli(String projectRoot)
-
-