Ver código fonte

Fix pmd configuration in pom.xml

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
master
Eric Zhao 5 anos atrás
pai
commit
21d436cae0
2 arquivos alterados com 23 adições e 3 exclusões
  1. +6
    -2
      pom.xml
  2. +17
    -1
      sentinel-benchmark/pom.xml

+ 6
- 2
pom.xml Ver arquivo

@@ -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 Ver arquivo

@@ -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>


Carregando…
Cancelar
Salvar