@Test public void miscTest() { PomRemoveDependency pomRemoveDependency = new PomRemoveDependency("org.springframework.boot", "spring-boot-dependencies").relative("pom.xml"); assertEquals(pomRemoveDependency.getDescription(), "Remove dependency org.springframework.boot:spring-boot-dependencies from POM file pom.xml"); assertEquals(pomRemoveDependency.clone(), pomRemoveDependency); }
@Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); }
PomRemoveDependency extends AbstractArtifactPomOperation<PomRemoveDependency> implements ChangeOrRemoveElement<PomRemoveDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } }
PomRemoveDependency extends AbstractArtifactPomOperation<PomRemoveDependency> implements ChangeOrRemoveElement<PomRemoveDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveDependency();  PomRemoveDependency(String groupId, String artifactId); }
PomRemoveDependency extends AbstractArtifactPomOperation<PomRemoveDependency> implements ChangeOrRemoveElement<PomRemoveDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveDependency();  PomRemoveDependency(String groupId, String artifactId); @Override PomRemoveDependency failIfNotPresent(); @Override PomRemoveDependency warnIfNotPresent(); @Override PomRemoveDependency noOpIfNotPresent(); @Override String getDescription(); @Override boolean equals(Object obj); @Override int hashCode(); }
PomRemoveDependency extends AbstractArtifactPomOperation<PomRemoveDependency> implements ChangeOrRemoveElement<PomRemoveDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveDependency();  PomRemoveDependency(String groupId, String artifactId); @Override PomRemoveDependency failIfNotPresent(); @Override PomRemoveDependency warnIfNotPresent(); @Override PomRemoveDependency noOpIfNotPresent(); @Override String getDescription(); @Override boolean equals(Object obj); @Override int hashCode();  }