Skip to content

Commit 8a073b1

Browse files
committed
HBASE-28921 Skip bundling hbase-webapps folder in jars
1 parent 84f4fb3 commit 8a073b1

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

hbase-rest/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,15 @@
289289
<skipAssembly>true</skipAssembly>
290290
</configuration>
291291
</plugin>
292+
<plugin>
293+
<groupId>org.apache.maven.plugins</groupId>
294+
<artifactId>maven-jar-plugin</artifactId>
295+
<configuration>
296+
<excludes>
297+
<exclude>**/hbase-webapps/**</exclude>
298+
</excludes>
299+
</configuration>
300+
</plugin>
292301
<!-- Make a jar and put the sources in the jar -->
293302
<plugin>
294303
<groupId>org.apache.maven.plugins</groupId>

hbase-server/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@
453453
<exclude>log4j.properties</exclude>
454454
<exclude>mapred-queues.xml</exclude>
455455
<exclude>mapred-site.xml</exclude>
456+
<exclude>**/hbase-webapps/**</exclude>
456457
</excludes>
457458
</configuration>
458459
</plugin>

hbase-thrift/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@
194194
<skipAssembly>true</skipAssembly>
195195
</configuration>
196196
</plugin>
197+
<plugin>
198+
<groupId>org.apache.maven.plugins</groupId>
199+
<artifactId>maven-jar-plugin</artifactId>
200+
<configuration>
201+
<excludes>
202+
<exclude>**/hbase-webapps/**</exclude>
203+
</excludes>
204+
</configuration>
205+
</plugin>
197206
<!-- General ant tasks, bound to different build phases -->
198207
<plugin>
199208
<artifactId>maven-antrun-plugin</artifactId>

0 commit comments

Comments
 (0)