- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DefaultParser (2.23 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) { holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context)); } DefaultParser parser = new DefaultParser(); parser.setRegexCommand("[:]{0,1}[a-zA-Z!]{1,}\\S*"); // change default regex to support shell commands String banner = """
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
public CommandLine parse(String[] args) throws ParseException { // We need to eat any quotes surrounding arguments... String[] cleanArgs = CleanArgument.cleanArgs(args); DefaultParser parser = DefaultParser.builder() .setDeprecatedHandler(usedDeprecatedOptions::add) .build(); CommandLine commandLine = parser.parse(options, cleanArgs);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Aug 06 04:56:48 UTC 2025 - 17.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
public CommandLine parse(String[] args) throws ParseException { // We need to eat any quotes surrounding arguments... String[] cleanArgs = CleanArgument.cleanArgs(args); DefaultParser parser = DefaultParser.builder() .setDeprecatedHandler(this::addDeprecatedOption) .get(); CommandLine commandLine = parser.parse(options, cleanArgs);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 07:36:42 UTC 2025 - 21.3K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
import com.google.common.jimfs.Configuration; import com.google.common.jimfs.Jimfs; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.apache.maven.Maven; import org.apache.maven.api.Constants;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0)