Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetArgs (0.05 sec)

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

        CliRequest(String[] args, ClassWorld classWorld) {
            this.args = args;
            this.classWorld = classWorld;
            this.request = new DefaultMavenExecutionRequest();
        }
    
        public String[] getArgs() {
            return args;
        }
    
        public CommandLine getCommandLine() {
            return commandLine;
        }
    
        public ClassWorld getClassWorld() {
            return classWorld;
        }
    
    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

                    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/MavenCli.java

            CommandLine.Builder commandLineBuilder = new CommandLine.Builder();
    
            // the args are easy, CLI only since maven.config file can only contain options
            for (String arg : mavenCli.getArgs()) {
                commandLineBuilder.addArg(arg);
            }
    
            /* Although this looks wrong in terms of order Commons CLI stores the value of options in
    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