diff --git a/main/commons-test/pom.xml b/main/commons-test/pom.xml
index f4790e045..80f21c2f9 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 077c9c21f..7fdd329d6 100644
--- a/main/commons/pom.xml
+++ b/main/commons/pom.xml
@@ -44,6 +44,11 @@
junit
test
+
+ org.mockito
+ mockito-core
+ test
+
de.bechte.junit
junit-hierarchicalcontextrunner
diff --git a/main/pom.xml b/main/pom.xml
index 138ae2345..b3eaa9a4a 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -275,14 +275,6 @@
org.apache.logging.log4j
log4j-jul
-
- junit
- junit
-
-
- org.mockito
- mockito-core
-