diff --git a/activemq-core/pom.xml b/activemq-core/pom.xml
index f470a6bada..baa81a172a 100755
--- a/activemq-core/pom.xml
+++ b/activemq-core/pom.xml
@@ -165,6 +165,11 @@
junit
test
+
+ org.hamcrest
+ hamcrest-all
+ test
+
commons-logging
commons-logging
diff --git a/pom.xml b/pom.xml
index 3e43ed66b8..6a8d8619a2 100755
--- a/pom.xml
+++ b/pom.xml
@@ -767,6 +767,7 @@
${aopalliance-version}
+
junit
junit
@@ -791,6 +792,12 @@
${cglib-version}
test
+
+ org.hamcrest
+ hamcrest-all
+ 1.1
+ test
+
annogen