I just tried building thirdparty and it works fine. I misread you. You are trying to build hbase, not thirdparty. Try the HBASE-21935 <https://issues.apache.org/jira/browse/HBASE-21935> scripts or do the staged builds that the script does. See release-build.sh at line #201 node in https://issues.apache.org/jira/secure/attachment/12963811/HBASE-21935.branch-2.0.019.patch The "...isn't a file" complaint I've run into before and haven't figured it yet.
S On Wed, Apr 17, 2019 at 10:23 AM Stack <[email protected]> wrote: > If you build from the tag do you get same problem? > > Assembly on thirdparty May need work. Thirdparty is consumed as a pom > dependency not usually as a binary tarball. I’d suggest that it not > critical that assembly work? What you think? File an issue and I can work > on it but let the rc proceed? > > Thanks guanghao > S > > On Wed, Apr 17, 2019 at 7:00 AM Guanghao Zhang <[email protected]> wrote: > >> After applying HBASE-22222, mvn assembly:single failed... >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (default-cli) >> on project hbase-assembly: Failed to create assembly: Error adding file >> 'org.apache.hbase:hbase-common:test-jar:tests:2.2.1-SNAPSHOT' to archive: >> /home/hao/open_source/hbase/hbase-common/target/test-classes isn't a file. >> -> [Help 1] >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >> goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single >> (default-cli) on project hbase-assembly: Failed to create assembly: Error >> adding file 'org.apache.hbase:hbase-common:test-jar:tests:2.2.1-SNAPSHOT' >> to archive: /home/hao/open_source/hbase/hbase-common/target/test-classes >> isn't a file. >> >> 张铎(Duo Zhang) <[email protected]> 于2019年4月17日周三 下午12:05写道: >> >> > +1(binding) >> > >> > Checked sigs and sums: matched >> > Built from src: OK >> > Built hbase site with 2.2.1RC0 after applying the patch in HBASE-22222: >> OK >> > >> > >> > >> > 张铎(Duo Zhang) <[email protected]> 于2019年4月17日周三 上午9:42写道: >> > >> > > You need to apply the patch in HBASE-22222 first. >> > > >> > > Guanghao Zhang <[email protected]> 于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 <[email protected]> 于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 >> > >> > '[email protected]' 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 >> > >> > >> > >> >> > > >> > >> >
