diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml
index 1ed43743392..14151b0e805 100644
--- a/hbase-protocol-shaded/pom.xml
+++ b/hbase-protocol-shaded/pom.xml
@@ -38,6 +38,14 @@
3.3.0
+
+
+ src/main/
+
+ **/*.proto
+
+
+
org.apache.maven.plugins
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index 00d8dfcd33c..77e8859af1c 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -43,6 +43,12 @@
hbase-webapps/**
+
+ src/main/resources/
+
+ **/*.thrift
+
+