minor static analysis fixes, fixed rat excludes on it project

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1779477 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 15594d4..66feaa5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,6 +133,8 @@
                 <configuration>
                     <excludes>
                         <exclude>derby.log</exclude>
+                        <exclude>**/sling.properties</exclude>
+                        <exclude>**/cache.lock</exclude>
                         <exclude>src/main/resources/**/*.*</exclude>
                         <exclude>src/test/resources/**/*.*</exclude>
                     </excludes>