This condition should return true only if the given pom file has a parent artifact, and it matches the specified groupId, artifactId and version. Optionally, if no version is provided, then it should only check for groupId and artifactId.
This condition class should be placed at com.paypal.butterfly.utilities.conditions.pom. Class com.paypal.butterfly.utilities.conditions.pom.PomDependencyExists could be used as an example.
Unit tests should be added and code coverage must be at least 90%.
This condition should return true only if the given pom file has a parent artifact, and it matches the specified groupId, artifactId and version. Optionally, if no version is provided, then it should only check for groupId and artifactId.
This condition class should be placed at
com.paypal.butterfly.utilities.conditions.pom
. Classcom.paypal.butterfly.utilities.conditions.pom.PomDependencyExists
could be used as an example.Unit tests should be added and code coverage must be at least 90%.