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-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 942fbf1  Fix Javadoc on Java 11.
942fbf1 is described below

commit 942fbf156a48f0cd5e8cc9663ee53e2dc99241cf
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Aug 10 13:12:18 2020 -0400

    Fix Javadoc on Java 11.
---
 pom.xml | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index ef6d551..0b2bd73 100644
--- a/pom.xml
+++ b/pom.xml
@@ -283,7 +283,6 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, 
arj.
           <configuration> 
             <source>${maven.compiler.source}</source>
             <quiet>true</quiet>
-            <release>7</release>
             <encoding>${commons.encoding}</encoding>
             <docencoding>${commons.docEncoding}</docencoding>
             <linksource>true</linksource>
@@ -436,7 +435,6 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, 
arj.
         <configuration> 
           <source>${maven.compiler.source}</source>
           <quiet>true</quiet>
-          <release>7</release>
           <encoding>${commons.encoding}</encoding>
           <docencoding>${commons.docEncoding}</docencoding>
           <linksource>true</linksource>
@@ -528,6 +526,23 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, 
arj.
       </build>
     </profile>
     <profile>
+      <id>java8+</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <configuration> 
+            <release>7</release>
+          </configuration> 
+        </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>java9+</id>
       <activation>
         <jdk>[9,)</jdk>

Reply via email to