Package org.apache.maven.model.building
Interface ModelSourceTransformer
public interface ModelSourceTransformer
The ModelSourceTransformer is a way to transform the local pom while streaming the input.
The
transform(Path, TransformerContext, Model)
method uses a Path on purpose, to ensure the
local pom is the original source.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
transform
(Path pomFile, TransformerContext context, Model model)
-
Method Details
-
transform
- Parameters:
pomFile
- the pom file, cannot be nullcontext
- the context, cannot be nullmodel
- the model to transform- Throws:
TransformerException
- if the transformation fails
-