Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toProperties (0.05 sec)

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

            data.put("plexus", context.lookup.lookup(PlexusContainer.class));
            data.put("workingDirectory", invokerRequest.cwd().toString());
            data.put("systemProperties", toProperties(invokerRequest.systemProperties()));
            data.put("userProperties", toProperties(invokerRequest.userProperties()));
            data.put("versionProperties", CLIReportingUtils.getBuildProperties());
            context.eventSpyDispatcher.init(() -> data);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    // properties in dependencies the user does not know. See MNG-7563 for details.
                    modelRequest.setSystemProperties(
                            toProperties(session.getUserProperties(), session.getSystemProperties()));
                    modelRequest.setUserProperties(new Properties());
                    modelRequest.setModelCache(modelCacheFactory.createCache(session));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            for (String key : properties.stringPropertyNames()) {
                map.put(key, properties.getProperty(key));
            }
            return map;
        }
    
        @Nonnull
        public static Properties toProperties(Map<String, String> properties) {
            requireNonNull(properties, "properties");
            Properties map = new Properties();
            for (String key : properties.keySet()) {
                map.put(key, properties.get(key));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setShowErrors(options.showErrors().orElse(false));
            request.setBaseDirectory(context.invokerRequest.topDirectory().toFile());
            request.setSystemProperties(toProperties(context.invokerRequest.systemProperties()));
            request.setUserProperties(toProperties(context.invokerRequest.userProperties()));
    
            request.setTopDirectory(context.invokerRequest.topDirectory());
    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