Adding relative path

Change-Id: Id5e7493e9fada7989c7c1cecf7ca964c6e71c802
diff --git a/api/pom.xml b/api/pom.xml
index 76588bc..5e71cc4 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -21,6 +21,7 @@
         <artifactId>onos-app-igmpproxy</artifactId>
         <groupId>org.opencord</groupId>
         <version>2.1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/app/pom.xml b/app/pom.xml
index f9b38ea..ce7960c 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -21,6 +21,7 @@
         <artifactId>onos-app-igmpproxy</artifactId>
         <groupId>org.opencord</groupId>
         <version>2.1.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/pom.xml b/pom.xml
index 05c033d..228ab25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,10 +31,22 @@
     <packaging>pom</packaging>
 
     <modules>
-        <module>app</module>
         <module>api</module>
+        <module>app</module>
     </modules>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <repositories>
         <repository>
             <id>central</id>