You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Robert Scholte <rf...@apache.org> on 2017/02/24 14:26:51 UTC

CLI-269: Introduce CommandLineBuilder

Hi,

for Maven we have this issue where commandline arguments and options can  
come from multiple sources and where we need to control the order of  
processing these entities.
For now we've introduced our own MergedCommandLine[1], but we consider  
this as a temporary workaround.
The proper solution would be to introduce a CommandLine.Builder.
I've created a patch (based on the concept of Option.Builder) which I'd  
like to commit[1].
Before frightening others I'd like to announce this action. There might be  
other known issues in Maven which need a fix in CLI, I'll announce those  
as well.

thanks,
Robert

[1]  
https://git1-us-west.apache.org/repos/asf?p=maven.git;a=blob;f=maven-embedder/src/main/java/org/apache/maven/cli/MergedCommandLine.java;h=cb0a5875db78067b26eaea19a4cb5692713f25ca;hb=dc9c4db4494b62e2231bb67b39678decf6329852
[2] https://issues.apache.org/jira/browse/CLI-269

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org