diff --git a/pom.xml b/pom.xml index 2a8d2b752..9fc8813ba 100644 --- a/pom.xml +++ b/pom.xml @@ -175,16 +175,6 @@ - - org.hamcrest - hamcrest-all - 1.3 - - - com.googlecode.lambdaj - lambdaj - 2.3.3 - com.atlassian.jira jira-rest-java-client-api @@ -310,11 +300,27 @@ + org.apache.commons commons-lang3 3.7 + + org.jenkins-ci.plugins + script-security + 1.16 + + + org.jenkins-ci.plugins + structs + 1.7 + + + org.jenkins-ci.plugins + credentials + 2.1.19 + @@ -330,6 +336,18 @@ tests test + + org.hamcrest + hamcrest-all + 1.3 + test + + + cglib + cglib-nodep + 2.2 + test + org.mockito mockito-all @@ -379,31 +397,11 @@ tests test - - org.objenesis - objenesis - 2.1 - org.jenkins-ci.plugins junit 1.3 - - org.jenkins-ci.plugins - script-security - 1.16 - - - org.jenkins-ci.plugins - structs - 1.7 - - - org.jenkins-ci.plugins - credentials - 2.1.19 - diff --git a/src/main/java/hudson/plugins/jira/JiraVersionMatcher.java b/src/main/java/hudson/plugins/jira/JiraVersionMatcher.java deleted file mode 100644 index 3b218b834..000000000 --- a/src/main/java/hudson/plugins/jira/JiraVersionMatcher.java +++ /dev/null @@ -1,19 +0,0 @@ -package hudson.plugins.jira; - -import hudson.plugins.jira.model.JiraVersion; -import org.hamcrest.FeatureMatcher; -import org.hamcrest.Matcher; - -public class JiraVersionMatcher { - - public static Matcher hasName(Matcher subMatcher) { - return new FeatureMatcher(subMatcher, - "expected version name", "actual version name") { - @Override - protected String featureValueOf(JiraVersion version) { - return version.getName(); - } - }; - } - -} \ No newline at end of file