]> source.dussan.org Git - jgit.git/commitdiff
[Java 8] Configure doclint to accept missing descriptions 78/34778/1
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 22 Sep 2014 22:27:46 +0000 (00:27 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 12 Oct 2014 20:21:00 +0000 (22:21 +0200)
We avoid trivial descriptions in JavaDoc. Hence configure
doclint to not fail on missing descriptions.

Change-Id: Iba3d5aec18cc7d7f43e53fa6789f0dede9996fb7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit 54dc4b20b3e084c9c470c8211810dff008b6f0fc)

pom.xml

diff --git a/pom.xml b/pom.xml
index 54a98d96c93b3e1a8fd9d9670f27f435fa79e385..b82973353693ad9d8850545a1f8b3050f3879641 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <module>org.eclipse.jgit.java7.test</module>
       </modules>
     </profile>
+    <profile>
+      <id>jgit.java8</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <additionalparam>-Xdoclint:-missing</additionalparam>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>static-checks</id>
       <build>