Discussion:
hbase maven build error
kevin su
2018-11-27 19:15:12 UTC
Permalink
HI :

I try to use maven to build newest hbase from github,but i got this error.

[WARNING] The requested profile "assembly:single" could not be activated
because it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce
(check-aggregate-license) on project hbase-shaded: Some Enforcer rules have
failed. Look above for specific messages explaining why the rule failed. ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :hbase-shaded

OS : windows
maven version : 3.5.4
hbase branch : master

I didn't edit anything in repository.
*i use mvn clean package,do i use wrnog command ?*

Best Regards,
Kevin
Stack
2018-11-29 17:26:01 UTC
Permalink
Do any other branches work for you Kevin? branch-2.0 for instance? What
about branch-1? Perhaps we broke windows compile?
S
Post by kevin su
I try to use maven to build newest hbase from github,but i got this error.
[WARNING] The requested profile "assembly:single" could not be activated
because it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce
(check-aggregate-license) on project hbase-shaded: Some Enforcer rules have
failed. Look above for specific messages explaining why the rule failed. ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :hbase-shaded
OS : windows
maven version : 3.5.4
hbase branch : master
I didn't edit anything in repository.
*i use mvn clean package,do i use wrnog command ?*
Best Regards,
Kevin
Loading...