Package org.apache.maven.model.building
Class DefaultTransformerContext
java.lang.Object
org.apache.maven.model.building.DefaultTransformerContext
- All Implemented Interfaces:
TransformerContext
@Deprecated(since="4.0.0")
class DefaultTransformerContext
extends Object
implements TransformerContext
Deprecated.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Deprecated.static class
Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Map
<DefaultTransformerContext.GAKey, DefaultTransformerContext.Holder> Deprecated.(package private) final Map
<Path, DefaultTransformerContext.Holder> Deprecated.(package private) final ModelLocator
Deprecated.Deprecated.Fields inherited from interface org.apache.maven.model.building.TransformerContext
KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRawModel
(Path from, String groupId, String artifactId) Deprecated.Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.getRawModel
(Path from, Path p) Deprecated.Get the model based on the path when resolving the parent based on relativePath.getUserProperty
(String key) Deprecated.Get the value of the Maven user property.Deprecated.Locate the POM file inside the given directory.
-
Field Details
-
modelLocator
Deprecated. -
userProperties
Deprecated. -
modelByPath
Deprecated. -
modelByGA
Deprecated.
-
-
Constructor Details
-
DefaultTransformerContext
DefaultTransformerContext(ModelLocator modelLocator) Deprecated.
-
-
Method Details
-
getUserProperty
Deprecated.Description copied from interface:TransformerContext
Get the value of the Maven user property.- Specified by:
getUserProperty
in interfaceTransformerContext
-
getRawModel
Deprecated.Description copied from interface:TransformerContext
Get the model based on the path when resolving the parent based on relativePath.- Specified by:
getRawModel
in interfaceTransformerContext
- Parameters:
from
- the requiring modelp
- the path to the pomFile- Returns:
- the model, otherwise
null
-
getRawModel
Deprecated.Description copied from interface:TransformerContext
Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.- Specified by:
getRawModel
in interfaceTransformerContext
- Parameters:
from
- the requiring modelgroupId
- the groupIdartifactId
- the artifactId- Returns:
- the model, otherwise
null
-
locate
Deprecated.Description copied from interface:TransformerContext
Locate the POM file inside the given directory.- Specified by:
locate
in interfaceTransformerContext
-
ModelBuilder
instead