From 21d436cae03465cbc2a72c230d8d02d03e7eb59b Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Fri, 15 Mar 2019 10:03:14 +0800 Subject: [PATCH] Fix pmd configuration in pom.xml Signed-off-by: Eric Zhao --- pom.xml | 8 ++++++-- sentinel-benchmark/pom.xml | 18 +++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index d6193397..ba3792e1 100755 --- a/pom.xml +++ b/pom.xml @@ -62,6 +62,7 @@ 1.6 0.8.3 3.1.0 + 3.8 @@ -189,10 +190,13 @@ org.apache.maven.plugins maven-pmd-plugin - 3.8 + ${maven.pmd.version} ${project.build.sourceEncoding} - 1.8 + 1 + + com/alibaba/csp/sentinel/benchmark + **/*_jmhTest.java diff --git a/sentinel-benchmark/pom.xml b/sentinel-benchmark/pom.xml index 2270b38a..af32b952 100644 --- a/sentinel-benchmark/pom.xml +++ b/sentinel-benchmark/pom.xml @@ -49,13 +49,29 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + ${maven.compiler.version} ${javac.target} ${javac.target} ${javac.target} + + org.apache.maven.plugins + maven-pmd-plugin + ${maven.pmd.version} + + true + + + + org.apache.maven.plugins + maven-deploy-plugin + ${maven.deploy.version} + + true + + org.apache.maven.plugins maven-shade-plugin