Bläddra i källkod

Fix pmd configuration in pom.xml

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao 5 år sedan
förälder
incheckning
21d436cae0
2 ändrade filer med 23 tillägg och 3 borttagningar
  1. +6
    -2
      pom.xml
  2. +17
    -1
      sentinel-benchmark/pom.xml

+ 6
- 2
pom.xml Visa fil

@@ -62,6 +62,7 @@
<maven.gpg.version>1.6</maven.gpg.version>
<maven.jacoco.version>0.8.3</maven.jacoco.version>
<maven.jar.version>3.1.0</maven.jar.version>
<maven.pmd.version>3.8</maven.pmd.version>
</properties>

<modules>
@@ -189,10 +190,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<version>${maven.pmd.version}</version>
<configuration>
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
<targetJdk>1.8</targetJdk>
<minimumPriority>1</minimumPriority>
<excludeRoots>
<excludeRoot>com/alibaba/csp/sentinel/benchmark</excludeRoot>
</excludeRoots>
<excludes>
<exclude>**/*_jmhTest.java</exclude>
</excludes>


+ 17
- 1
sentinel-benchmark/pom.xml Visa fil

@@ -49,13 +49,29 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>${maven.compiler.version}</version>
<configuration>
<compilerVersion>${javac.target}</compilerVersion>
<source>${javac.target}</source>
<target>${javac.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${maven.pmd.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>


Laddar…
Avbryt
Spara