Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-06-21 05:48:29 +0000
committerMatthias Sohn2018-06-21 08:48:48 +0000
commit12c4d77caa533e181a7824cb777f1ff71829fe0b (patch)
treea7cc1e08fb8fc73f09be8e82a89ec94dee162ce3
parent7df024b2761d5604ca8a63e0cc2324ce2f477c6f (diff)
downloadjgit-12c4d77caa533e181a7824cb777f1ff71829fe0b.tar.gz
jgit-12c4d77caa533e181a7824cb777f1ff71829fe0b.tar.xz
jgit-12c4d77caa533e181a7824cb777f1ff71829fe0b.zip
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>
-rw-r--r--org.eclipse.jgit.test/pom.xml4
-rw-r--r--pom.xml18
2 files changed, 21 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/pom.xml b/org.eclipse.jgit.test/pom.xml
index 730d3bbe21..cdb3925491 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 7a3236c324..9016651ce0 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>

Back to the top