diff --git a/maven-compat/pom.xml b/maven-compat/pom.xml
index 0b2e4134e3..6eaf4cec27 100644
--- a/maven-compat/pom.xml
+++ b/maven-compat/pom.xml
@@ -46,10 +46,12 @@
org.apache.maven.wagon
wagon-file
+ test
org.apache.maven.wagon
wagon-http-lightweight
+ test
easymock
diff --git a/maven-embedder/pom.xml b/maven-embedder/pom.xml
index c447f5630a..970d6740eb 100644
--- a/maven-embedder/pom.xml
+++ b/maven-embedder/pom.xml
@@ -74,10 +74,12 @@
org.apache.maven.wagon
wagon-http-lightweight
+ test
org.apache.maven.wagon
wagon-file
+ test
easymock