pom fixes and modify release order

Change-Id: I793023b1fba776f8f30292029a253fef85bf8c6f
diff --git a/compiler/base/parser/pom.xml b/compiler/base/parser/pom.xml
index c6359ff..95451d9 100644
--- a/compiler/base/parser/pom.xml
+++ b/compiler/base/parser/pom.xml
@@ -108,6 +108,18 @@
                     <verbose>false</verbose>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <sourceDirectories>
+                        <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+                    </sourceDirectories>
+                     <excludes>**/generated-sources/**/*</excludes>
+                </configuration>
+            </plugin>
+
         </plugins>
     </build>
 </project>