Package org.apache.maven.model.path
Class DefaultModelPathTranslator
java.lang.Object
org.apache.maven.model.path.DefaultModelPathTranslator
- All Implemented Interfaces:
ModelPathTranslator
@Named
@Singleton
@Deprecated(since="4.0.0")
public class DefaultModelPathTranslator
extends Object
implements ModelPathTranslator
Deprecated.
Resolves relative paths within a model against a specific base directory.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringalignToBaseDirectory(String path, Path basedir) Deprecated.private ResourcealignToBaseDirectory(Resource resource, Path basedir) Deprecated.voidalignToBaseDirectory(Model modelV3, File basedir, ModelBuildingRequest request) Deprecated.voidalignToBaseDirectory(Model modelV3, Path basedir, ModelBuildingRequest request) Deprecated.Resolves the well-known paths of the specified model against the given base directory.private <T> List<T> Deprecated.private StringmayAlignToBaseDirectoryOrNull(String path, Path basedir) Deprecated.Returns aligned path ornullif no need for change.
-
Field Details
-
pathTranslator
Deprecated.
-
-
Constructor Details
-
DefaultModelPathTranslator
Deprecated.
-
-
Method Details
-
alignToBaseDirectory
@Deprecated public void alignToBaseDirectory(Model modelV3, File basedir, ModelBuildingRequest request) Deprecated.Description copied from interface:ModelPathTranslatorResolves the well-known paths of the specified model against the given base directory. Paths within plugin configuration are not processed.- Specified by:
alignToBaseDirectoryin interfaceModelPathTranslator- Parameters:
modelV3- 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.
-
alignToBaseDirectory
Deprecated.Description copied from interface:ModelPathTranslatorResolves the well-known paths of the specified model against the given base directory. Paths within plugin configuration are not processed.- Specified by:
alignToBaseDirectoryin interfaceModelPathTranslator- Parameters:
modelV3- 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.
-
map
Deprecated. -
alignToBaseDirectory
Deprecated. -
alignToBaseDirectory
Deprecated. -
mayAlignToBaseDirectoryOrNull
Deprecated.Returns aligned path ornullif no need for change.
-
ModelBuilderinstead