HBASE-23147 Branches-1 shaded artifact for mapreduce integration misses MainClass (#3214)

Co-authored-by: Huang <zhuang1@paypal.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
zhe-huang 2022-08-02 17:02:12 +08:00 committed by GitHub
parent 0a0a474363
commit 41e9e52e74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -45,6 +45,20 @@
<skipAssembly>true</skipAssembly> <skipAssembly>true</skipAssembly>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </build>
<dependencies> <dependencies>