PDavid opened a new pull request, #6864: URL: https://github.com/apache/hbase/pull/6864
### As is Currently, the static JavaScript, CSS resources need to be manually managed. That is, if any of these has to be updated, we will be required to download them from web and place them under the appropriate path. This can be cumbersome. ### After To be able to manage them with minimal manual effort we could manage them as part of build. #### Approach This solution is very similar to how we manage the websitestatic resources in our build: https://github.com/apache/hbase/pull/6668 Download and extract the UI resources as [webjars](https://www.webjars.org/) using the `maven-dependency-plugin` in our build, then copy only the required files to the `hbase-server/target/hbase-webapps/static` directory using `maven-antrun-plugin`. (The `maven-antrun-plugin` is required to be able to copy the files in a flat way from a deeper directory structure.) The REST and Thrift projects copies the static JavaScript, CSS resources from hbase-server - as before. This way the no new dependency is packaged into the application, only the required JS, CSS files are copied and packaged. From now on upgrading the static JavaScript, CSS resources means to increment the version properties in root `pom.xml`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
