PomRemovePlugin extends AbstractArtifactPomOperation<PomRemovePlugin> implements ChangeOrRemoveElement<PomRemovePlugin> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemovePlugin();  PomRemovePlugin(String groupId, String artifactId); @Override PomRemovePlugin failIfNotPresent(); @Override PomRemovePlugin warnIfNotPresent(); @Override PomRemovePlugin noOpIfNotPresent(); @Override String getDescription(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void miscTest() { PomRemovePlugin pomRemovePlugin = new PomRemovePlugin("org.apache.maven.plugins", "maven-javadoc-plugin").relative("pom.xml"); assertEquals(pomRemovePlugin.getDescription(), "Remove plugin org.apache.maven.plugins:maven-javadoc-plugin from POM file pom.xml"); assertEquals(pomRemovePlugin.clone(), pomRemovePlugin); }