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

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

commit 0f8d8e7b32ef2c130242890cfe308281770040ec
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Jun 7 09:02:14 2024 -0400

    Revert "Patch the javadoc generated by JDK 11 to display the index page in 
framed mode by default"
    
    This reverts commit 99d3604a8a4eec4e48c9229c8b12890fe610d2e9.
---
 pom.xml | 32 +-------------------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8a0e104..3faa955 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1501,16 +1501,10 @@
           <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
             <executions>
-              <execution>
-                <id>generate-javadoc</id>
-                <goals>
-                  <goal>javadoc</goal>
-                </goals>
-                <phase>prepare-package</phase>
-              </execution>
               <execution>
                 <id>create-javadoc-jar</id>
                 <goals>
+                  <goal>javadoc</goal>
                   <goal>jar</goal>
                 </goals>
                 <phase>package</phase>
@@ -1521,30 +1515,6 @@
               
<javadocExecutable>${commons.compiler.javadoc}</javadocExecutable>
             </configuration>
           </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <!--
-              Showing javadoc frames is no longer the default with JDK 11, the 
index
-              page displays the overview without frames unless a query string 
is
-              appended to the URL. This hack ensures that the index page 
doesn't
-              load another page by default and remains on the framed view.
-            -->
-            <executions>
-              <execution>
-                <id>patch-javadoc</id>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <phase>prepare-package</phase>
-                <configuration>
-                  <target>
-                    <replace 
file="${project.build.directory}/site/apidocs/index.html" token="    
window.location.replace" value="    //window.location.replace" 
preserveLastModified="true"/>
-                  </target>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
           <plugin>
             <artifactId>maven-assembly-plugin</artifactId>
             <version>${commons.assembly-plugin.version}</version>

Reply via email to