From 29c1b5dbca0d188fd04faf69f40120e37220bb34 Mon Sep 17 00:00:00 2001 From: Evan Harris Date: Sun, 20 Oct 2019 04:04:05 -0500 Subject: [PATCH] Enabled PMD checking for jsp files 2 rulesets are included. --- airsonic-main/pom.xml | 18 ++++++++++++++++++ pom.xml | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/airsonic-main/pom.xml b/airsonic-main/pom.xml index 4d49fd27..f3e2ab44 100755 --- a/airsonic-main/pom.xml +++ b/airsonic-main/pom.xml @@ -595,6 +595,24 @@ org.apache.maven.plugins maven-checkstyle-plugin + + org.apache.maven.plugins + maven-pmd-plugin + + jsp + + /category/jsp/codestyle.xml + /category/jsp/errorprone.xml + + + **/*.jsp + **/*.jspf + + + ${basedir}/src/main/webapp/WEB-INF/jsp + + + org.springframework.boot spring-boot-maven-plugin diff --git a/pom.xml b/pom.xml index cfc1d26b..254d7848 100644 --- a/pom.xml +++ b/pom.xml @@ -264,6 +264,23 @@ + + org.apache.maven.plugins + maven-pmd-plugin + 3.12.0 + + + validate + validate + + utf-8 + + + check + + + + org.owasp dependency-check-maven