Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            // Test resolved source functionality
            String location = "/tmp";
            Path path = Paths.get(location);
            String modelId = "org.example:test:1.0.0";
            Sources.ResolvedPathSource source = (Sources.ResolvedPathSource) Sources.resolvedSource(path, modelId);
    
            assertNull(source.getPath());
            assertEquals(path.toString(), source.getLocation());
            assertEquals(modelId, source.getModelId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * from repositories. Does not support resolving related sources.
         */
        static class ResolvedPathSource extends PathSource implements ModelSource {
            @Nullable
            private final String modelId;
    
            ResolvedPathSource(Path path, String location, String modelId) {
                super(path, location);
                this.modelId = modelId;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top