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 classDeprecated.static classDeprecated. -
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 ModelLocatorDeprecated.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:TransformerContextGet the value of the Maven user property.- Specified by:
getUserPropertyin interfaceTransformerContext
-
getRawModel
Deprecated.Description copied from interface:TransformerContextGet the model based on the path when resolving the parent based on relativePath.- Specified by:
getRawModelin interfaceTransformerContext- Parameters:
from- the requiring modelp- the path to the pomFile- Returns:
- the model, otherwise
null
-
getRawModel
Deprecated.Description copied from interface:TransformerContextGet the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.- Specified by:
getRawModelin interfaceTransformerContext- Parameters:
from- the requiring modelgroupId- the groupIdartifactId- the artifactId- Returns:
- the model, otherwise
null
-
locate
Deprecated.Description copied from interface:TransformerContextLocate the POM file inside the given directory.- Specified by:
locatein interfaceTransformerContext
-
ModelBuilderinstead