Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getOptionValue (0.2 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(commandLine.getOptionValue(CLIManager.THREADS));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> builder() {
            if (commandLine.hasOption(CLIManager.BUILDER)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.BUILDER));
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altProjectSettings() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_PROJECT_SETTINGS)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_PROJECT_SETTINGS));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K 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. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            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);
            assertEquals("foobar", request.commandLine.getOptionValue("builder"));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            request.setResumeFrom(commandLine.getOptionValue(CLIManager.RESUME_FROM));
            enableOnPresentOption(commandLine, CLIManager.RESUME, request::setResume);
            request.setMakeBehavior(determineMakeBehavior(commandLine));
            boolean cacheNotFound = !commandLine.hasOption(CLIManager.CACHE_ARTIFACT_NOT_FOUND)
                    || Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.CACHE_ARTIFACT_NOT_FOUND));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top