Exclude resources from checkstyle

- to better align with current BUCK behaviour which only includes java sources
- and few other pom fixes

Change-Id: I029884450df0b520f5f81f21f15d322a397c1adc
diff --git a/apps/faultmanagement/fmmgr/pom.xml b/apps/faultmanagement/fmmgr/pom.xml
index d5fcd37..834d4ec 100644
--- a/apps/faultmanagement/fmmgr/pom.xml
+++ b/apps/faultmanagement/fmmgr/pom.xml
@@ -72,5 +72,12 @@
             <classifier>tests</classifier>
             <scope>test</scope>
         </dependency>
+
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <scope>test</scope>
+        </dependency>
+
     </dependencies>
 </project>
diff --git a/apps/segmentrouting/pom.xml b/apps/segmentrouting/pom.xml
index 7f1ecee..408ee3f 100644
--- a/apps/segmentrouting/pom.xml
+++ b/apps/segmentrouting/pom.xml
@@ -100,6 +100,13 @@
             <scope>test</scope>
             <classifier>tests</classifier>
         </dependency>
+        <dependency>
+            <groupId>org.onosproject</groupId>
+            <artifactId>onos-incubator-api</artifactId>
+            <version>${project.version}</version>
+            <scope>test</scope>
+            <classifier>tests</classifier>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/lib/pom.xml b/lib/pom.xml
index 1c7f6ed..3f65fa0 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -631,8 +631,8 @@
                     </headerLocation>
                     <failsOnError>false</failsOnError>
                     <logViolationsToConsole>true</logViolationsToConsole>
-                    <includeTestSourceDirectory>true
-                    </includeTestSourceDirectory>
+                    <includeTestSourceDirectory>true</includeTestSourceDirectory>
+                    <includeResources>false</includeResources>
                 </configuration>
                 <executions>
                     <execution>