This is an automated email from the ASF dual-hosted git repository. stevel pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/hadoop-release-support.git
commit f50adf19c0842dfb025035e9196ccf5f3e23b8ff Author: Steve Loughran <ste...@cloudera.com> AuthorDate: Tue May 10 19:43:13 2022 +0100 HADOOP-18198. update readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 46c4c27..a2c7295 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,36 @@ This project imports the hadoop client artifacts to verify that they are (a) published on the maven repository and (b) contain the classes we expect. +To build and test with the client API:l + +```bash +mvn clean test -Pclient +``` + +Compilation verifies the API is present; the +test verifies that some shaded artifacts are present. + +If the hadoop artifacts are in staging/snapshot repositories, +use the `staging` profile + +```bash +mvn clean test -Pclient -Pstaging +``` + +To force an update + +```bash +mvn clean test -Pclient -Pstaging -U +``` + +To purge all artifacts of the chosen hadoop version from your local maven repository. + +```bash +mvn clean -Ppurge +``` + +*do not use with the dependency declaration of -Pclient or things get confused* +(it will try to resolve the artifacts, even as they are deleted) + +There are different profiles for different versions; +the default value is 3.3.3 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org