You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by pa...@apache.org on 2025/07/10 06:29:44 UTC

(hbase) branch HBASE-29446-web-ui-styling-hadoop2-branch-3 created (now 5b3c75212ef)

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

paksyd pushed a change to branch HBASE-29446-web-ui-styling-hadoop2-branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


      at 5b3c75212ef HBASE-29446 Web UI styling is broken in HBase 2.6.3RC1 hadoop2 bin release

This branch includes the following new commits:

     new 5b3c75212ef HBASE-29446 Web UI styling is broken in HBase 2.6.3RC1 hadoop2 bin release

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(hbase) 01/01: HBASE-29446 Web UI styling is broken in HBase 2.6.3RC1 hadoop2 bin release

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

paksyd pushed a commit to branch HBASE-29446-web-ui-styling-hadoop2-branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 5b3c75212ef40338426577a6d86e9e798fc835a2
Author: Dávid Paksy <pa...@gmail.com>
AuthorDate: Wed Jul 9 14:22:26 2025 +0200

    HBASE-29446 Web UI styling is broken in HBase 2.6.3RC1 hadoop2 bin release
    
    When backporting HBASE-27802 added the maven-dependency-plugin with unpack-ui-resources-js and unpack-ui-resources-css execution to the hadoop-3.0 profile which is not OK.
    But this plugin is not specific for hadoop-3.0.
    Moved it to the pom of hbase-server directly.
---
 hbase-server/pom.xml | 211 ++++++++++++++++++++++++++-------------------------
 1 file changed, 109 insertions(+), 102 deletions(-)

diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 0f2a14d4dc3..439b69e3be3 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -584,6 +584,115 @@
         <groupId>net.revelc.code</groupId>
         <artifactId>warbucks-maven-plugin</artifactId>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>${maven.dependency.version}</version>
+        <executions>
+          <execution>
+            <id>unpack-ui-resources-js</id>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <phase>process-resources</phase>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>bootstrap</artifactId>
+                  <version>${bootstrap.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/js/bootstrap.bundle.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>jquery</artifactId>
+                  <version>${jquery.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/jquery.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>tablesorter</artifactId>
+                  <version>${tablesorter.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/jquery.tablesorter.min.js,
+                    **/parsers/parser-date-iso8601.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>vega</artifactId>
+                  <version>${vega.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/vega.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>vega-embed</artifactId>
+                  <version>${vega-embed.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/vega-embed.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>vega-lite</artifactId>
+                  <version>${vega-lite.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/vega-lite.min.js</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/hbase-webapps/static/js</outputDirectory>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-ui-resources-css</id>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <phase>process-resources</phase>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.webjars</groupId>
+                  <artifactId>bootstrap</artifactId>
+                  <version>${bootstrap.version}</version>
+                  <type>jar</type>
+                  <overWrite>true</overWrite>
+                  <includes>**/css/bootstrap.min.css</includes>
+                  <fileMappers>
+                    <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
+                  </fileMappers>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/hbase-webapps/static/css</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <profiles>
@@ -770,108 +879,6 @@
                   <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
                 </configuration>
               </execution>
-              <execution>
-                <id>unpack-ui-resources-js</id>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <phase>process-resources</phase>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>bootstrap</artifactId>
-                      <version>${bootstrap.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/js/bootstrap.bundle.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>jquery</artifactId>
-                      <version>${jquery.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/jquery.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>tablesorter</artifactId>
-                      <version>${tablesorter.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/jquery.tablesorter.min.js,
-                        **/parsers/parser-date-iso8601.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>vega</artifactId>
-                      <version>${vega.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/vega.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>vega-embed</artifactId>
-                      <version>${vega-embed.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/vega-embed.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>vega-lite</artifactId>
-                      <version>${vega-lite.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/vega-lite.min.js</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                  </artifactItems>
-                  <outputDirectory>${project.build.directory}/hbase-webapps/static/js</outputDirectory>
-                </configuration>
-              </execution>
-              <execution>
-                <id>unpack-ui-resources-css</id>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <phase>process-resources</phase>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.webjars</groupId>
-                      <artifactId>bootstrap</artifactId>
-                      <version>${bootstrap.version}</version>
-                      <type>jar</type>
-                      <overWrite>true</overWrite>
-                      <includes>**/css/bootstrap.min.css</includes>
-                      <fileMappers>
-                        <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FlattenFileMapper"/>
-                      </fileMappers>
-                    </artifactItem>
-                  </artifactItems>
-                  <outputDirectory>${project.build.directory}/hbase-webapps/static/css</outputDirectory>
-                </configuration>
-              </execution>
             </executions>
           </plugin>
         </plugins>