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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSourceCreates a Source for the following Pathstatic ModelSourceresolve(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:SourceCreates a Source for the following Path -
fromPath
-