change configuration to oparent's checkstyle plugin

Issue-ID: INT-1479
Signed-off-by: John J. Franey <John.Franey@att.com>
Change-Id: I28dfa795a5502dec6c6f617f376826a8b3cdad03
diff --git a/oparent/pom.xml b/oparent/pom.xml
index f0ba97b..2c14f8b 100644
--- a/oparent/pom.xml
+++ b/oparent/pom.xml
@@ -451,7 +451,9 @@
               <includeResources>false</includeResources>
               <includeTestSourceDirectory>true</includeTestSourceDirectory>
               <includeTestResources>false</includeTestResources>
-              <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
+              <sourceDirectories>
+                <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+              </sourceDirectories>
               <excludes>
               </excludes>
               <consoleOutput>true</consoleOutput>
@@ -470,7 +472,9 @@
                    with minor changes -->
               <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
               <!-- <sourceDirectories> is needed so that checkstyle ignores the generated sources directory -->
-              <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
+              <sourceDirectories>
+                <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+              </sourceDirectories>
               <includeResources>true</includeResources>
               <includeTestSourceDirectory>true</includeTestSourceDirectory>
               <includeTestResources>true</includeTestResources>