You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2024/05/24 06:10:49 UTC

(commons-parent) 01/03: Generate the javadoc with frames when building with JDK 11

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

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

commit 15a3b6e728dc729a10363426592224a975fd70ca
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Fri May 24 08:08:43 2024 +0200

    Generate the javadoc with frames when building with JDK 11
---
 pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pom.xml b/pom.xml
index fd0e8c4..190ff2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -504,6 +504,7 @@
               <link>${commons.javadoc.java.link}</link>
               <link>${commons.javadoc.javaee.link}</link>
             </links>
+            <additionalOptions>${commons.javadoc.options}</additionalOptions>
             <archive>
               <manifest>
                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
@@ -1833,6 +1834,16 @@
 		</plugins>
 	  </build>
     </profile>
+    <profile>
+      <!-- Java 11 only -->
+      <id>java-11</id>
+      <activation>
+        <jdk>11</jdk>
+      </activation>
+      <properties>
+        <commons.javadoc.options>--frames</commons.javadoc.options>
+      </properties>
+    </profile>
     <profile>
 	  <!-- Java 11 and up -->
       <id>java-11-up</id>