]> source.dussan.org Git - jgit.git/commitdiff
[Java 8] Configure doclint to accept missing descriptions 34/33734/2
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 22 Sep 2014 22:27:46 +0000 (00:27 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 22 Sep 2014 22:32:47 +0000 (00:32 +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>
pom.xml

diff --git a/pom.xml b/pom.xml
index 1c7c201d3f40f8a2acbc805741845c035c0ccfce..d8a103f472673aa430e21be81d776849ef8dfff5 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>