Fixed build and version of build-tools

Declared PMD dependencies under PMD Maven plugin.
Build-tools are now part of the onboarding profile.
Version is now aligned with the project version.

Change-Id: Ibba68c83b7a888c2adc39f9915de0a4003c63c0f
Issue-ID: SDC-348
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index eb23f1e..930ecd9 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -96,7 +96,8 @@
         <zusammen.version>0.2.0</zusammen.version>
         <zusammen-state-store.version>0.2.1</zusammen-state-store.version>
         <skipSA>true</skipSA>
-        <build.tools.version>1.1.0-SNAPSHOT</build.tools.version>
+        <pmd.version>5.8.1</pmd.version>
+        <build.tools.version>${project.version}</build.tools.version>
     </properties>
 
     <build>
@@ -147,6 +148,16 @@
                         <artifactId>build-tools</artifactId>
                         <version>${build.tools.version}</version>
                     </dependency>
+                    <dependency>
+                        <groupId>net.sourceforge.pmd</groupId>
+                        <artifactId>pmd-core</artifactId>
+                        <version>${pmd.version}</version>
+                    </dependency>
+                    <dependency>
+                        <groupId>net.sourceforge.pmd</groupId>
+                        <artifactId>pmd-java</artifactId>
+                        <version>${pmd.version}</version>
+                    </dependency>
                 </dependencies>
             </plugin>
         </plugins>