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/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>