Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResolvedPathSource (0.11 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

        void testResolvedPathSourceFunctionality() {
            // Test resolved source functionality
            Path path = Paths.get("/tmp");
            String location = "custom-location";
            Sources.ResolvedPathSource source = (Sources.ResolvedPathSource) Sources.resolvedSource(path, location);
    
            assertNull(source.getPath());
            assertEquals(location, source.getLocation());
            assertNull(source.resolve("subdir"));
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * Implementation of {@link ModelSource} for POM files that have been resolved
         * from repositories. Does not support resolving related sources.
         */
        static class ResolvedPathSource extends PathSource implements ModelSource {
            ResolvedPathSource(Path path, String location) {
                super(path, location);
            }
    
            @Override
            public Path getPath() {
                return null;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top