diff --git a/scm-plugins/scm-hg-plugin/pom.xml b/scm-plugins/scm-hg-plugin/pom.xml
index fb7bd6f299..088e9f4040 100644
--- a/scm-plugins/scm-hg-plugin/pom.xml
+++ b/scm-plugins/scm-hg-plugin/pom.xml
@@ -42,6 +42,27 @@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.2
+
+
+
+ test-jar
+
+
+
+
+
+
+
+
diff --git a/scm-webapp/pom.xml b/scm-webapp/pom.xml
index 068ec4997a..dafd5673c5 100644
--- a/scm-webapp/pom.xml
+++ b/scm-webapp/pom.xml
@@ -239,6 +239,14 @@
test
+
+ sonia.scm.plugins
+ scm-hg-plugin
+ 1.18-SNAPSHOT
+ tests
+ test
+
+
org.seleniumhq.selenium
selenium-java