Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MavenProperties (0.13 sec)

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

            MavenProperties properties;
            if (props instanceof MavenProperties) {
                properties = (MavenProperties) props;
            } else {
                properties = new MavenProperties();
                properties.putAll(props);
            }
            return update(properties);
        }
    
        public boolean update(MavenProperties properties) {
            boolean modified = false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                    + "                        \n";
    
            java.util.Properties props1 = new java.util.Properties();
            props1.load(new StringReader(config));
    
            MavenProperties props2 = new MavenProperties();
            props2.load(new StringReader(config));
    
            String s325 = props1.getProperty(" \r");
            assertEquals("\n \t \f", s325, "1");
            String s324 = props1.getProperty("a");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
        private static MavenProperties loadPropertiesFile(
                Path path, boolean failIfNotFound, Function<String, String> callback) throws IOException {
            MavenProperties configProps = new MavenProperties(null, false);
            if (Files.exists(path) || failIfNotFound) {
                configProps.load(path);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top