[
https://issues.apache.org/jira/browse/HBASE-24223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089957#comment-17089957
]
Nick Dimiduk commented on HBASE-24223:
--------------------------------------
We've never used {{-Phadoop-3.0}} to enable the hadoop-3 profile. Setting
hadoop profile has always been through a {{-D hadoop.profile}} property, I
believe because of limited features around default profile activation.
You have a way that we get rid of {{hadoop.profile}} and just use {{-P}} from
now on?
> The -Phadoop-3.0 option does not work on branch-2 and branch-2.3 with JDK11
> ---------------------------------------------------------------------------
>
> Key: HBASE-24223
> URL: https://issues.apache.org/jira/browse/HBASE-24223
> Project: HBase
> Issue Type: Bug
> Components: hadoop3, pom
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 2.3.0
>
>
> Because we have an enforcer rule which requires the hadoop.profile property
> to be set to 3.0.
> I tried to use requireActiveProfile but it failed when building
> hbase-annotations as in the pom of the module we do not declare a hadoop-3.0
> profile(since it does not depend on hadoop...).
> So we need to find another trick solution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)