Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for populateRequest (0.11 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            cli.cli(request);
            executionRequest = cli.populateRequest(request);
            assertThat(executionRequest.getLocalRepositoryPath(), is(nullValue()));
    
            // System-properties override default
            request.getSystemProperties().setProperty(Constants.MAVEN_REPO_LOCAL, "." + File.separatorChar + "custom1");
            executionRequest = cli.populateRequest(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)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                }
    
                context.logger.warn("");
            }
        }
    
        @Override
        protected void populateRequest(C context, MavenExecutionRequest request) throws Exception {
            super.populateRequest(context, request);
            if (context.invokerRequest.rootDirectory().isEmpty()) {
                // maven requires this to be set; so default it (and see below at POM)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                context.invoker.settings(context, container.lookup(SettingsBuilder.class));
    
                MavenExecutionRequest mer = new DefaultMavenExecutionRequest();
                context.invoker.populateRequest(context, mer);
                mer = container.lookup(MavenExecutionRequestPopulator.class).populateDefaults(mer);
                return Collections.unmodifiableList(container
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                return source.getLocation();
            }
            return defaultLocation;
        }
    
        protected MavenExecutionRequest populateRequest(CliRequest cliRequest) {
            return populateRequest(cliRequest, cliRequest.request);
        }
    
        private MavenExecutionRequest populateRequest(CliRequest cliRequest, MavenExecutionRequest request) {
            slf4jLoggerFactory = LoggerFactory.getILoggerFactory();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            return context.userResolver
                    .apply(context.invokerRequest.userProperties().get(Constants.MAVEN_USER_CONF))
                    .resolve("repository");
        }
    
        protected void populateRequest(C context, MavenExecutionRequest request) throws Exception {
            populateRequestFromSettings(request, context.effectiveSettings);
    
            Options options = context.invokerRequest.options();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top