Class DefaultModelPathTranslator
java.lang.Object
org.apache.maven.internal.impl.model.DefaultModelPathTranslator
- All Implemented Interfaces:
ModelPathTranslator
@Named
@Singleton
public class DefaultModelPathTranslator
extends Object
implements ModelPathTranslator
Resolves relative paths within a model against a specific base directory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalignToBaseDirectory
(Model model, Path basedir, ModelBuilderRequest request) Resolves the well-known paths of the specified model against the given base directory.
-
Constructor Details
-
DefaultModelPathTranslator
-
-
Method Details
-
alignToBaseDirectory
Description copied from interface:ModelPathTranslator
Resolves the well-known paths of the specified model against the given base directory. Paths within plugin configuration are not processed.- Specified by:
alignToBaseDirectory
in interfaceModelPathTranslator
- Parameters:
model
- The model whose paths should be resolved, may benull
.basedir
- The base directory to resolve relative paths against, may benull
.request
- The model building request that holds further settings, must not benull
.
-