Fix maven site generation failing with javadoc errors The same errors are suppressed when generating javadoc. Suppress the errors during site generation. Change-Id: I83bd1c10e5de82f47c351e7edf2c9230be4b1f21 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
diff --git a/org.eclipse.jgit.test/pom.xml b/org.eclipse.jgit.test/pom.xml index 730d3bb..cdb3925 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. </description> + <properties> + <maven.javadoc.skip>true</maven.javadoc.skip> + </properties> + <dependencies> <dependency> <groupId>junit</groupId>
diff --git a/pom.xml b/pom.xml index 7a3236c..9016651 100644 --- a/pom.xml +++ b/pom.xml
@@ -484,7 +484,6 @@ </configuration> <executions> <execution> - <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> @@ -539,6 +538,23 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin-version}</version> + <reportSets> + <reportSet> + <reports> + <report>javadoc</report> + </reports> + </reportSet> + <reportSet> + <id>aggregate</id> + <inherited>false</inherited> + <reports> + <report>aggregate</report> + </reports> + </reportSet> + </reportSets> + <configuration> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>