summaryrefslogtreecommitdiffstats
path: root/build-tools/pom.xml
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2017-08-29 18:15:04 +0300
committervempo <vitaliy.emporopulo@amdocs.com>2017-08-29 18:21:34 +0300
commit09d4f069e48a0b4ab7359bbcc3b299d222721230 (patch)
tree25d5c0677ebe0984e1f74f31ecd1100953b82228 /build-tools/pom.xml
parent7cd1156c3cab009146ca02989df394412d209483 (diff)
Set up static analysis for on-boarding
Configured PMD Maven plugin in the onboarding pom.xml, with a custom ruleset. Currently disabled by default, can be ran on demand. Change-Id: I0e7ba1aeb1aefcea86fc2534ebc62343057f7c34 Issue-ID: SDC-246 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'build-tools/pom.xml')
-rw-r--r--build-tools/pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/build-tools/pom.xml b/build-tools/pom.xml
new file mode 100644
index 0000000000..952ebef380
--- /dev/null
+++ b/build-tools/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <!-- This dependency must be referenced from a plugin configuration only -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>build-tools</artifactId>
+
+ <parent>
+ <groupId>org.openecomp.sdc</groupId>
+ <artifactId>sdc-main</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ </parent>
+
+ <properties>
+ <pmd.version>5.8.1</pmd.version>
+ </properties>
+
+ <dependencies>
+ <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>
+
+</project> \ No newline at end of file