diff --git a/main/commons-test/pom.xml b/main/commons-test/pom.xml
index c7fe991e3..8ae85edf0 100644
--- a/main/commons-test/pom.xml
+++ b/main/commons-test/pom.xml
@@ -17,10 +17,19 @@
Shared utilities for tests
+
+ org.cryptomator
+ commons
+
+
junit
junit
+
+ org.mockito
+ mockito-core
+
de.bechte.junit
junit-hierarchicalcontextrunner
@@ -29,11 +38,6 @@
org.hamcrest
hamcrest-all
-
-
- org.cryptomator
- commons
-
diff --git a/main/commons/pom.xml b/main/commons/pom.xml
index 6dbb4ebd8..81ef3d6ef 100644
--- a/main/commons/pom.xml
+++ b/main/commons/pom.xml
@@ -27,6 +27,11 @@
junit
test
+
+ org.mockito
+ mockito-core
+ test
+
de.bechte.junit
junit-hierarchicalcontextrunner
diff --git a/main/pom.xml b/main/pom.xml
index 71795ebb2..24a7ab945 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -254,14 +254,6 @@
org.apache.logging.log4j
log4j-jul
-
- junit
- junit
-
-
- org.mockito
- mockito-core
-