mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Fixed Pom Compilation error
This commit is contained in:
parent
0992e7f6cf
commit
5566645159
1 changed files with 51 additions and 47 deletions
96
pom.xml
96
pom.xml
|
@ -204,6 +204,56 @@
|
|||
</dependencies>
|
||||
</plugin>
|
||||
|
||||
<!-- FindBug plugin for Static code analysis -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>3.0.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>failing-on-high</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>findbugs</goal>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<failOnError>false</failOnError>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<!-- PMD plugin for Static code analysis -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>3.10.0</version>
|
||||
<configuration>
|
||||
<linkXref>true</linkXref>
|
||||
<sourceEncoding>utf-8</sourceEncoding>
|
||||
<minimumTokens>100</minimumTokens>
|
||||
<targetJdk>1.8</targetJdk>
|
||||
<excludes>
|
||||
<exclude>**/generated/*.java</exclude>
|
||||
</excludes>
|
||||
<excludeRoots>
|
||||
<excludeRoot>target/generated-sources/stubs</excludeRoot>
|
||||
</excludeRoots>
|
||||
<failOnViolation>false</failOnViolation> <!-- this is actually true by default, but can be disabled -->
|
||||
<printFailingErrors>true</printFailingErrors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
<goal>pmd</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -247,53 +297,7 @@
|
|||
</reportSets>
|
||||
</plugin>
|
||||
|
||||
<!-- FindBug plugin for Static code analysis -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>3.0.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>failing-on-high</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>findbugs</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<failOnError>false</failOnError>
|
||||
<xmlOutput>true</xmlOutput>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- PMD plugin for Static code analysis -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>3.10.0</version>
|
||||
<configuration>
|
||||
<linkXref>true</linkXref>
|
||||
<sourceEncoding>utf-8</sourceEncoding>
|
||||
<minimumTokens>100</minimumTokens>
|
||||
<targetJdk>1.8</targetJdk>
|
||||
<excludes>
|
||||
<exclude>**/generated/*.java</exclude>
|
||||
</excludes>
|
||||
<excludeRoots>
|
||||
<excludeRoot>target/generated-sources/stubs</excludeRoot>
|
||||
</excludeRoots>
|
||||
<failOnViolation>false</failOnViolation> <!-- this is actually true by default, but can be disabled -->
|
||||
<printFailingErrors>true</printFailingErrors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Atlassian Clover plugin for coverage -->
|
||||
<!-- <plugin>
|
||||
|
|
Loading…
Reference in a new issue