This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 41e9e52e743 HBASE-23147 Branches-1 shaded artifact for mapreduce
integration misses MainClass (#3214)
41e9e52e743 is described below
commit 41e9e52e7437b0c2e05404dd18da6574c8524edf
Author: zhe-huang <[email protected]>
AuthorDate: Tue Aug 2 17:02:12 2022 +0800
HBASE-23147 Branches-1 shaded artifact for mapreduce integration misses
MainClass (#3214)
Co-authored-by: Huang <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
---
hbase-shaded/hbase-shaded-server/pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/hbase-shaded/hbase-shaded-server/pom.xml
b/hbase-shaded/hbase-shaded-server/pom.xml
index 23dfb22302e..03b195afcf0 100644
--- a/hbase-shaded/hbase-shaded-server/pom.xml
+++ b/hbase-shaded/hbase-shaded-server/pom.xml
@@ -45,6 +45,20 @@
<skipAssembly>true</skipAssembly>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <!--Include the Driver class as the 'main'.
+ Executing the jar will then show a list of the
basic MR jobs.
+ -->
+
<mainClass>org/apache/hadoop/hbase/mapreduce/Driver</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>