Package br.org.soujava.pomeditor.mojo
Class AddDependencyMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- br.org.soujava.pomeditor.mojo.EditingMojo
-
- br.org.soujava.pomeditor.mojo.AddDependencyMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="add-dep") public class AddDependencyMojo extends EditingMojo
Mojo responsible to add a given dependency to a target POM if such dependency is not declared or the given dependency's version is greater than the existent at target POM
-
-
Field Summary
-
Fields inherited from class br.org.soujava.pomeditor.mojo.EditingMojo
backupFunction, rollbackFunction
-
-
Constructor Summary
Constructors Constructor Description AddDependencyMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class br.org.soujava.pomeditor.mojo.EditingMojo
change
-
-