Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadProperties (0.07 sec)

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

            assertThrows(
                    NoSuchFileException.class, () -> MavenPropertiesLoader.loadProperties(p, mavenUserProps, null, false));
    
            Path another = propsPath.resolveSibling("another.properties");
            Files.writeString(another, "bar = chti${java.version}\n");
            MavenPropertiesLoader.loadProperties(p, mavenUserProps, null, false);
            assertEquals("chti11z", p.getProperty("fro"));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

        public static final String OVERRIDE_PREFIX =
                "maven.override."; // prefix that marks that system property should override defaults.
    
        public static void loadProperties(
                java.util.Properties properties, Path path, Function<String, String> callback, boolean escape)
                throws IOException {
            MavenProperties sp = new MavenProperties(false);
    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