Package org.sonatype.maven.polyglot
Class TeslaModelProcessor
- java.lang.Object
-
- org.sonatype.maven.polyglot.TeslaModelProcessor
-
- All Implemented Interfaces:
org.apache.maven.model.building.ModelProcessor,org.apache.maven.model.io.ModelReader,org.apache.maven.model.locator.ModelLocator
@Component(role=org.apache.maven.model.building.ModelProcessor.class) public class TeslaModelProcessor extends Object implements org.apache.maven.model.building.ModelProcessor
Polyglot model processor.- Since:
- 0.7
- Author:
- Jason Dillon
-
-
Constructor Summary
Constructors Constructor Description TeslaModelProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilelocatePom(File dir)org.apache.maven.model.Modelread(File input, Map<String,?> options)org.apache.maven.model.Modelread(InputStream input, Map<String,?> options)org.apache.maven.model.Modelread(Reader input, Map<String,?> options)
-
-
-
Method Detail
-
locatePom
public File locatePom(File dir)
- Specified by:
locatePomin interfaceorg.apache.maven.model.locator.ModelLocator
-
read
public org.apache.maven.model.Model read(File input, Map<String,?> options) throws IOException, org.apache.maven.model.io.ModelParseException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
read
public org.apache.maven.model.Model read(InputStream input, Map<String,?> options) throws IOException, org.apache.maven.model.io.ModelParseException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
read
public org.apache.maven.model.Model read(Reader input, Map<String,?> options) throws IOException, org.apache.maven.model.io.ModelParseException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
-