Package org.apache.maven.model.building
Class DefaultModelSourceTransformer
java.lang.Object
org.apache.maven.model.building.DefaultModelSourceTransformer
- All Implemented Interfaces:
ModelSourceTransformer
Default ModelSourceTransformer, provides pomFile as inputStream and ignores the context
- Since:
- 4.0.0
- Author:
- Robert Scholte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.util.xml.pull.XmlPullParser
transform
(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Path pomFile, TransformerContext context)
-
Constructor Details
-
DefaultModelSourceTransformer
public DefaultModelSourceTransformer()
-
-
Method Details
-
transform
public org.codehaus.plexus.util.xml.pull.XmlPullParser transform(org.codehaus.plexus.util.xml.pull.XmlPullParser parser, Path pomFile, TransformerContext context) throws IOException, TransformerException - Specified by:
transform
in interfaceModelSourceTransformer
pomFile
- the pom file, cannot be nullcontext
- the context, cannot be null- Returns:
- the InputStream for the ModelReader
- Throws:
IOException
- if an I/O error occursTransformerException
- if the transformation fails
-