You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/09/12 14:44:36 UTC

[commons-configuration] 02/02: Adjust for different javadoc options between Java 8 and 11.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git

commit 72a29cc53d5ad99674fcefa4e3c4df7bb57e05a7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Sep 12 10:44:31 2019 -0400

    Adjust for different javadoc options between Java 8 and 11.
---
 .github/workflows/maven.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9475935..007db47 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,4 +32,6 @@ jobs:
       with:
         java-version: ${{ matrix.java }}
     - name: Build with Maven
-      run: mvn -V apache-rat:check spotbugs:check javadoc:javadoc -DadditionalJOption=-Xdoclint/package:-org.apache.commons.configuration2.plist package --file pom.xml
+      run: mvn -V clean apache-rat:check spotbugs:check javadoc:javadoc -Ddoclint=none package --file pom.xml
+
+# For Java 11, you can be more strict: -DadditionalJOption=-Xdoclint/package:-org.apache.commons.configuration2.plist
\ No newline at end of file