- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for resolveSibling (0.32 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
} protected Optional<RelativeProject> resolveRelativePath( Path pomFile, TransformerContext context, Path relativePath, String groupId, String artifactId) { Path pomPath = pomFile.resolveSibling(relativePath).normalize(); if (Files.isDirectory(pomPath)) { pomPath = context.locate(pomPath); } if (pomPath == null || !Files.isRegularFile(pomPath)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
p.put("java.version", "11"); 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"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
mandatory = false; location = location.substring(1); } Path path = configProp.resolveSibling(location); MavenProperties props = loadPropertiesFile(path, mandatory, s -> { var v = callback.apply(s);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0)