Package br.org.soujava.pomeditor.mojo
Class EditingMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- br.org.soujava.pomeditor.mojo.EditingMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AddDependencyMojo,ChangePropertyMojo
public abstract class EditingMojo extends org.apache.maven.plugin.AbstractMojoBase class forMojofunctionality, containing common code for editing POM files, and unit testing.
-
-
Field Summary
Fields Modifier and Type Field Description protected Function<Path,Boolean>backupFunctionprotected Consumer<Path>rollbackFunction
-
Constructor Summary
Constructors Constructor Description EditingMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PomChangechange(Path pomFile)-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-