]> source.dussan.org Git - jgit.git/commitdiff
Fix maven site generation failing with javadoc errors 28/124828/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 21 Jun 2018 05:48:29 +0000 (07:48 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 21 Jun 2018 08:48:48 +0000 (10:48 +0200)
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>
org.eclipse.jgit.test/pom.xml
pom.xml

index 730d3bbe21bdc1d6bce4b304bc1bfb3915d5a28a..cdb3925491092a1f00f8a26e49ddb4663680bed7 100644 (file)
     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 7a3236c324caa0bb68634a6e44f80850bf709674..9016651ce08789851c8176caf7532f54f82e15ec 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         </configuration>
         <executions>
           <execution>
-            <id>attach-javadocs</id>
             <goals>
               <goal>jar</goal>
             </goals>
         <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>