Class GitVersionerModelProcessor
- java.lang.Object
-
- org.apache.maven.model.building.DefaultModelProcessor
-
- com.github.manikmagar.maven.versioner.extension.GitVersionerModelProcessor
-
- All Implemented Interfaces:
org.apache.maven.model.building.ModelProcessor,org.apache.maven.model.io.ModelReader,org.apache.maven.model.locator.ModelLocator
@Named("core-default") @Singleton @Typed(org.apache.maven.model.building.ModelProcessor.class) public class GitVersionerModelProcessor extends org.apache.maven.model.building.DefaultModelProcessorMaven @ModelProcessorimplementation to set the project version before build is initialized.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDOT_MVNstatic StringGIT_VERSIONER_EXTENSIONS_PROPERTIES
-
Constructor Summary
Constructors Constructor Description GitVersionerModelProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Field Detail
-
GIT_VERSIONER_EXTENSIONS_PROPERTIES
public static final String GIT_VERSIONER_EXTENSIONS_PROPERTIES
- See Also:
- Constant Field Values
-
DOT_MVN
public static final String DOT_MVN
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public org.apache.maven.model.Model read(File input, Map<String,?> options) throws IOException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Overrides:
readin classorg.apache.maven.model.building.DefaultModelProcessor- Throws:
IOException
-
read
public org.apache.maven.model.Model read(Reader input, Map<String,?> options) throws IOException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Overrides:
readin classorg.apache.maven.model.building.DefaultModelProcessor- Throws:
IOException
-
read
public org.apache.maven.model.Model read(InputStream input, Map<String,?> options) throws IOException
- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Overrides:
readin classorg.apache.maven.model.building.DefaultModelProcessor- Throws:
IOException
-
-