Add checkstyle exclusion for generated sources.

Change-Id: I0162e71896a2d2e0b4f3255b8d3b9d3d9dedd07b
diff --git a/tools/package/dependencies/template.pom b/tools/package/dependencies/template.pom
index adaeb0d..1c955af 100644
--- a/tools/package/dependencies/template.pom
+++ b/tools/package/dependencies/template.pom
@@ -195,6 +195,7 @@
                         <logViolationsToConsole>true</logViolationsToConsole>
                         <includeTestSourceDirectory>true</includeTestSourceDirectory>
                         <includeResources>false</includeResources>
+                        <excludes>**/generated-sources/**/*</excludes>
                     </configuration>
                 </plugin>
                 <plugin>