diff --git a/plexus-cipher.spec b/plexus-cipher.spec
index 9f8867e..4912f79 100644
--- a/plexus-cipher.spec
+++ b/plexus-cipher.spec
@@ -29,6 +29,7 @@ Plexus Cipher: encryption/decryption Component
%setup -q
%pom_remove_parent
+%pom_xpath_inject "pom:dependency[pom:artifactId='junit']" "test"
# replace %{version}-SNAPSHOT with %{version}
%pom_xpath_replace pom:project/pom:version "%{version}"