@Test public void miscTest() { PomRemoveManagedDependency pomRemoveManagedDependency = new PomRemoveManagedDependency("junit", "junit").relative("pom.xml"); assertEquals(pomRemoveManagedDependency.getDescription(), "Remove managed dependency junit:junit from POM file pom.xml"); assertEquals(pomRemoveManagedDependency.clone(), pomRemoveManagedDependency); }
@Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); @Override PomRemoveManagedDependency failIfNotPresent(); @Override PomRemoveManagedDependency warnIfNotPresent(); @Override PomRemoveManagedDependency noOpIfNotPresent(); @Override String getDescription(); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); @Override PomRemoveManagedDependency failIfNotPresent(); @Override PomRemoveManagedDependency warnIfNotPresent(); @Override PomRemoveManagedDependency noOpIfNotPresent(); @Override String getDescription();  }