Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resolvePath (0.04 sec)

  1. 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);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top