diff options
author | Matthias Sohn | 2018-06-21 05:48:29 +0000 |
---|---|---|
committer | Matthias Sohn | 2018-06-21 08:48:48 +0000 |
commit | 12c4d77caa533e181a7824cb777f1ff71829fe0b (patch) | |
tree | a7cc1e08fb8fc73f09be8e82a89ec94dee162ce3 | |
parent | 7df024b2761d5604ca8a63e0cc2324ce2f477c6f (diff) | |
download | jgit-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.xml | 4 | ||||
-rw-r--r-- | pom.xml | 18 |
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> @@ -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> |