You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/11/11 05:32:04 UTC
[hbase-thirdparty] branch master updated: HBASE-27478 [hbase-thirdparty] Use maven flatten plugin to generate final pom (#96)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-thirdparty.git
The following commit(s) were added to refs/heads/master by this push:
new 6eb2b92 HBASE-27478 [hbase-thirdparty] Use maven flatten plugin to generate final pom (#96)
6eb2b92 is described below
commit 6eb2b92b5a976845de28f3c7a8fc913cfd6d04e9
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Fri Nov 11 13:32:00 2022 +0800
HBASE-27478 [hbase-thirdparty] Use maven flatten plugin to generate final pom (#96)
Signed-off-by: Xin Sun <dd...@gmail.com>
---
.gitignore | 1 +
pom.xml | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/.gitignore b/.gitignore
index e3e7e99..4ccbf38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ hbase-shaded-protobuf/src/main/java/
.classpath
.idea
*.iml
+.flattened-pom.xml
diff --git a/pom.xml b/pom.xml
index a1527bc..92f5171 100644
--- a/pom.xml
+++ b/pom.xml
@@ -350,6 +350,32 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>flatten-maven-plugin</artifactId>
+ <version>1.3.0</version>
+ <configuration>
+ <embedBuildProfileDependencies>true</embedBuildProfileDependencies>
+ </configuration>
+ <executions>
+ <!-- enable flattening -->
+ <execution>
+ <id>flatten</id>
+ <goals>
+ <goal>flatten</goal>
+ </goals>
+ <phase>process-resources</phase>
+ </execution>
+ <!-- ensure proper cleanup -->
+ <execution>
+ <id>flatten.clean</id>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <phase>clean</phase>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<!--These are the third-party libs we want to relocate-->