diff --git a/jigsaw-rpc-example-server/pom.xml b/jigsaw-rpc-example-server/pom.xml
index 47b56ba..81fa1b9 100644
--- a/jigsaw-rpc-example-server/pom.xml
+++ b/jigsaw-rpc-example-server/pom.xml
@@ -20,6 +20,7 @@
protoc
thrift
${basedir}/src/main/resources
+ src/main/gen/**/*
diff --git a/jigsaw-thrift-protobuf/pom.xml b/jigsaw-thrift-protobuf/pom.xml
index ec30e03..a2e01c9 100644
--- a/jigsaw-thrift-protobuf/pom.xml
+++ b/jigsaw-thrift-protobuf/pom.xml
@@ -19,6 +19,7 @@
2.9.0
thrift
${basedir}/src/main/resources
+ src/main/gen/**/*,src/test/gen/**/*