This is an automated email from the ASF dual-hosted git repository. gnodet pushed a commit to branch MNG-7354 in repository https://gitbox.apache.org/repos/asf/maven.git
commit 513b41ed38952e1f5449fa2970c2e058d6aec375 Author: Guillaume Nodet <[email protected]> AuthorDate: Mon Dec 13 13:37:13 2021 +0100 Make CliRequest usable outside package --- .../main/java/org/apache/maven/cli/CliRequest.java | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java b/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java index 2f6adc2..09aa09e 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java @@ -116,8 +116,58 @@ public class CliRequest return request; } + public void setArgs( String[] args ) + { + this.args = args; + } + + public void setCommandLine( CommandLine commandLine ) + { + this.commandLine = commandLine; + } + + public void setClassWorld( ClassWorld classWorld ) + { + this.classWorld = classWorld; + } + + public void setWorkingDirectory( String workingDirectory ) + { + this.workingDirectory = workingDirectory; + } + + public void setMultiModuleProjectDirectory( File multiModuleProjectDirectory ) + { + this.multiModuleProjectDirectory = multiModuleProjectDirectory; + } + + public void setVerbose( boolean verbose ) + { + this.verbose = verbose; + } + + public void setQuiet( boolean quiet ) + { + this.quiet = quiet; + } + + public void setShowErrors( boolean showErrors ) + { + this.showErrors = showErrors; + } + public void setUserProperties( Properties properties ) { this.userProperties.putAll( properties ); } + + public void setSystemProperties( Properties systemProperties ) + { + this.systemProperties = systemProperties; + } + + public void setRequest( MavenExecutionRequest request ) + { + this.request = request; + } } \ No newline at end of file
