Package org.apache.maven.api.services
Interface ModelSource
- All Superinterfaces:
Source
- All Known Implementing Classes:
DefaultModelResolver.ResolverModelSource
A Source specific to load POMs. The
resolve(ModelLocator, String)
method
will be used to find POMs for subprojects.- Since:
- 4.0.0
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSource
Creates a Source for the following Pathstatic ModelSource
resolve
(ModelSource.ModelLocator modelLocator, String relative) Methods inherited from interface org.apache.maven.api.services.Source
getLocation, getPath, openStream, resolve
-
Method Details
-
resolve
@Nullable ModelSource resolve(@Nonnull ModelSource.ModelLocator modelLocator, @Nonnull String relative) -
fromPath
Description copied from interface:Source
Creates a Source for the following Path -
fromPath
-