summaryrefslogtreecommitdiffstats
path: root/onboarding/pom.xml
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-08-31 10:50:16 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-31 10:50:16 +0000
commitf114c70eb7611aad29550711dfa6c7f0accb3372 (patch)
tree4a96b1432e6b1f3050a8ab6dec61eeef2cd4f808 /onboarding/pom.xml
parent43f36d99f1ad4d0a84a6a03fe3861cdadd952790 (diff)
parent09d4f069e48a0b4ab7359bbcc3b299d222721230 (diff)
Merge "Set up static analysis for on-boarding"
Diffstat (limited to 'onboarding/pom.xml')
-rw-r--r--onboarding/pom.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index 0e600287bf..36a36ee325 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -93,5 +93,61 @@
<ws.rs.version>2.0.1</ws.rs.version> <!-- New version 2.0.1 to fix blackduck violation Failing with comiplation issues-->
<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>
</properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <skip>${skipSA}</skip>
+ </configuration>
+ <executions>
+ <execution>
+ <id>jxr-generation</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>jxr</goal>
+ <goal>test-jxr</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>3.8</version>
+ <configuration>
+ <skip>${skipSA}</skip>
+ <aggregate>false</aggregate>
+ <targetJdk>${maven.compiler.target}</targetJdk>
+ <rulesets>
+ <ruleset>build-pmd-ruleset.xml</ruleset>
+ </rulesets>
+ </configuration>
+ <executions>
+ <execution>
+ <id>pmd-check</id>
+ <phase>validate</phase>
+ <goals>
+ <!-- violations fail build -->
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.openecomp.sdc</groupId>
+ <artifactId>build-tools</artifactId>
+ <version>${build.tools.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
</project>