You need to apply the patch in HBASE-22222 first. Guanghao Zhang <zghao...@gmail.com> 于2019年4月17日周三 上午9:28写道:
> I download the src code and install it locally. Then release branch-2.2.1 > with it and meet a error. The mvn cmd is: mvn clean install -DskipTests > -Prelease. > > [WARNING] Rule 0: org.apache.maven.plugins.enforcer.EvaluateBeanshell > failed with message: > License errors detected, for more detail find ERROR in > > /home/hao/open_source/hbase/hbase-shaded/hbase-shaded-client/target/maven-shared-archive-resources/META-INF/LICENSE > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce > (check-aggregate-license) on project hbase-shaded-client: Some Enforcer > rules have failed. Look above for specific messages explaining why the rule > failed. -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce > (check-aggregate-license) on project hbase-shaded-client: Some Enforcer > rules have failed. Look above for specific messages explaining why the rule > failed. > > Stack <st...@duboce.net> 于2019年4月17日周三 上午12:12写道: > > > Please consider the following as the 2.2.1 release of Apache HBase > > Thirdparty. It is the first release candidate for your consideration. It > > has one fix over hbase-thirdparty-2.2.0 to cure an 'interesting' > > dependency issue found in 2.2.0 (HBASE-22233). > > > > Source artifact, signatures, checksums, and changes are available at: > > > > https://dist.apache.org/repos/dist/dev/hbase/hbase-thirdparty/2.2.1RC0/ > > > > The release was made against tag 2.2.1RC0. It was signed with my key > > 'st...@duboce.net' which can be found here: > > > > https://dist.apache.org/repos/dist/release/hbase/KEYS > > > > Maven staging repository is available at: > > > > https://repository.apache.org/content/repositories/orgapachehbase-1304 > > > > This vote will remain open for at least 72 hours. > > > > Yours, > > Your HBase Release Manager > > >