[
https://issues.apache.org/jira/browse/HBASE-27501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17637238#comment-17637238
]
Duo Zhang commented on HBASE-27501:
-----------------------------------
{noformat}
[INFO] --- flatten-maven-plugin:1.3.0:flatten (flatten) @ hbase ---
[INFO] Generating flattened POM of project
org.apache.hbase:hbase:pom:2.5.2-SNAPSHOT...
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (check-aggregate-license) @
hbase ---
[INFO] Skipping Rule Enforcement.
[INFO]
[INFO] --- maven-site-plugin:3.12.0:attach-descriptor (attach-descriptor) @
hbase ---
[INFO] Attaching 'src/site/site.xml' site descriptor with classifier 'site'.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ hbase ---
[INFO] Installing /home/zhangduo/hbase/code/pom.xml to
/home/zhangduo/.m2/repository/org/apache/hbase/hbase/2.5.2-SNAPSHOT/hbase-2.5.2-SNAPSHOT.pom
[INFO] Installing
/home/zhangduo/hbase/code/target/hbase-2.5.2-SNAPSHOT-site.xml to
/home/zhangduo/.m2/repository/org/apache/hbase/hbase/2.5.2-SNAPSHOT/hbase-2.5.2-SNAPSHOT-site.xml
{noformat}
This is the plugin execution order for the root module. The order is correct
but we install pom.xml instead of .flattened-pom.xml.
And it seems that, if we do not invoke maven-jar-plugin, we will finally
install pom.xml instead of .flattened-pom.xml. For example,
hbase-build-configuration, hbase-archetypes, hbase-shaded, etc.
Let me dig more.
> The profiles for some modules are not resolved when packaging
> -------------------------------------------------------------
>
> Key: HBASE-27501
> URL: https://issues.apache.org/jira/browse/HBASE-27501
> Project: HBase
> Issue Type: Bug
> Components: build, pom
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Blocker
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.5.2
>
>
> Found this when trying to make 2.5.2 release, at least the pom for the root
> pom and hbase-build-configuration still contain ${revision} and profiles.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)