Package org.apache.maven.model.building
Interface TransformerContext
Deprecated.
Context used to transform a pom file.
- Since:
- 4.0.0
- 
Field SummaryFields
- 
Method SummaryModifier 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 pomFile) 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- 
KEYDeprecated.Key to get the TransformerContext from the SessionData
 
- 
- 
Method Details- 
getUserPropertyDeprecated.Get the value of the Maven user property.
- 
getRawModelDeprecated.Get the model based on the path when resolving the parent based on relativePath.- Parameters:
- from- the requiring model
- pomFile- the path to the pomFile
- Returns:
- the model, otherwise null
 
- 
getRawModelDeprecated.Get the model from the reactor based on the groupId and artifactId when resolving reactor dependencies.- Parameters:
- from- the requiring model
- groupId- the groupId
- artifactId- the artifactId
- Returns:
- the model, otherwise null
- Throws:
- IllegalStateException- if multiple versions of the same GA are part of the reactor
 
- 
locateDeprecated.Locate the POM file inside the given directory.
 
- 
ModelBuilderinstead