Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetCommandLine (0.15 sec)

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

            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
        public String getWorkingDirectory() {
            return workingDirectory;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    request.getUserProperties().getProperty("valTopDirectory"),
                    is("C:\\myRootDirectory\\myTopDirectory/pom.xml"));
            assertThat(request.getCommandLine().getOptionValue('f'), is("C:\\myRootDirectory/my-child"));
            assertThat(request.getCommandLine().getArgs(), equalTo(new String[] {"prefix:3.0.0:bar", "validate"}));
    
            Path p = fs.getPath(request.getUserProperties().getProperty("valTopDirectory"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            this.settingsDecrypter = settingsDecrypter;
        }
    
        @Override
        public void process(CliRequest cliRequest) throws Exception {
            CommandLine commandLine = cliRequest.getCommandLine();
            String workingDirectory = cliRequest.getWorkingDirectory();
            MavenExecutionRequest request = cliRequest.getRequest();
    
            File userSettingsFile;
    
    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/main/java/org/apache/maven/cli/MavenCli.java

            return request;
        }
    
        private void disableInteractiveModeIfNeeded(final CliRequest cliRequest, final MavenExecutionRequest request) {
            CommandLine commandLine = cliRequest.getCommandLine();
            if (commandLine.hasOption(FORCE_INTERACTIVE)) {
                return;
            }
    
            if (commandLine.hasOption(BATCH_MODE) || commandLine.hasOption(NON_INTERACTIVE)) {
    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