Package org.apache.maven.api.services
Interface ModelTransformer
- All Known Implementing Classes:
- BuildModelTransformer
public interface ModelTransformer
The ModelTransformer is a way to transform the local pom while streaming the input.
 The 
transform(ModelTransformerContext, Model, Path) method uses a Path on purpose, to ensure the
 local pom is the original source.- Since:
- 4.0.0
- 
Method SummaryModifier and TypeMethodDescriptiontransform(ModelTransformerContext context, Model model, Path path) 
- 
Method Details- 
transform@Nonnull Model transform(@Nonnull ModelTransformerContext context, @Nonnull Model model, @Nonnull Path path) throws ModelTransformerException - Parameters:
- context- the context, cannot be null
- model- the model to transform
- path- the pom file, cannot be null
- Throws:
- ModelTransformerException- if the transformation fails
 
 
-