- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for locateExistingPom (0.06 sec)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Path basePath = Paths.get("/tmp"); ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class); Path resolvedPath = Paths.get("/tmp/subproject/pom.xml"); when(locator.locateExistingPom(any(Path.class))).thenReturn(resolvedPath); Sources.BuildPathSource source = (Sources.BuildPathSource) Sources.buildSource(basePath); ModelSource resolved = source.resolve(locator, "subproject");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
* @return the path to the located POM file, or null if no POM can be found * @throws NullPointerException if project is null */ @Nullable Path locateExistingPom(@Nonnull Path project); } /** * Resolves a relative path to another POM file using the provided model locator. * This method is specifically used to locate POM files for subprojects or related
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 09:46:53 UTC 2025 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0)