Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CLIManager (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.Options;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.jline.MessageUtils;
    
    /**
     */
    public class CLIManager {
        public static final char ALTERNATE_POM_FILE = 'f';
    
        public static final char BATCH_MODE = 'B';
    
        public static final String NON_INTERACTIVE = "non-interactive";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

            CLIManager cliManager = new CLIManager();
            return new CommonsCliMavenOptions(source, cliManager, cliManager.parse(args));
        }
    
        protected CommonsCliMavenOptions(String source, CLIManager cliManager, CommandLine commandLine) {
            super(source, cliManager, commandLine);
        }
    
        private static CommonsCliMavenOptions interpolate(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            MavenExecutionRequest request = cliRequest.getRequest();
    
            File userSettingsFile;
    
            if (commandLine.hasOption(CLIManager.ALTERNATE_USER_SETTINGS)) {
                userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS));
                userSettingsFile = resolveFile(userSettingsFile, workingDirectory);
    
                if (!userSettingsFile.isFile()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

        protected final String source;
        protected final CLIManager cliManager;
        protected final CommandLine commandLine;
    
        protected CommonsCliOptions(String source, CLIManager cliManager, CommandLine commandLine) {
            this.source = requireNonNull(source);
            this.cliManager = requireNonNull(cliManager);
            this.commandLine = requireNonNull(commandLine);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            // read .mvn/maven.config
            cli.initialize(request);
            cli.cli(request);
            assertEquals("multithreaded", request.commandLine.getOptionValue(CLIManager.BUILDER));
            assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS));
    
            // override from command line
            request = new CliRequest(new String[] {"--builder", "foobar"}, null);
            cli.cli(request);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top