diff --git a/org.eclipse.jgit.test/pom.xml b/org.eclipse.jgit.test/pom.xml
index 730d3bbe2..cdb392549 100644
--- a/org.eclipse.jgit.test/pom.xml
+++ b/org.eclipse.jgit.test/pom.xml
@@ -62,6 +62,10 @@
JUnit tests for the core library.
+
+ true
+
+
junit
diff --git a/pom.xml b/pom.xml
index 7a3236c32..9016651ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -484,7 +484,6 @@
- attach-javadocs
jar
@@ -539,6 +538,23 @@
org.apache.maven.plugins
maven-javadoc-plugin
${maven-javadoc-plugin-version}
+
+
+
+ javadoc
+
+
+
+ aggregate
+ false
+
+ aggregate
+
+
+
+
+ -Xdoclint:none
+
org.apache.maven.plugins