Browse Source

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>
tags/v5.0.1.201806211838-r
Matthias Sohn 5 years ago
parent
commit
12c4d77caa
2 changed files with 21 additions and 1 deletions
  1. 4
    0
      org.eclipse.jgit.test/pom.xml
  2. 17
    1
      pom.xml

+ 4
- 0
org.eclipse.jgit.test/pom.xml View File

@@ -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>

+ 17
- 1
pom.xml View File

@@ -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>

Loading…
Cancel
Save