more excludes
This commit is contained in:
parent
5a4f95a78e
commit
00069f7ff8
3 changed files with 19 additions and 6 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
<!-- Exclude generated classes -->
|
||||
<Match>
|
||||
<Package name="ch.ethz.seb.sebserver.webservice.datalayer.batis.mapper"/>
|
||||
<Package name="ch.ethz.seb.sebserver.webservice.datalayer.batis.model"/>
|
||||
<Package name="~ch\.ethz\.seb\.sebserver.\webservice\.datalayer.\batis\.mapper\..*"/>
|
||||
</Match>
|
||||
</FindBugsFilter>
|
9
pmd-excludes.xml
Normal file
9
pmd-excludes.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ruleset name="excludes"
|
||||
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
|
||||
<description>excludes</description>
|
||||
<exclude-pattern>.*/batis.mapper/*.*</exclude-pattern>
|
||||
<exclude-pattern>.*/batis.model/*.*</exclude-pattern>
|
||||
</ruleset>
|
13
pom.xml
13
pom.xml
|
@ -80,10 +80,15 @@
|
|||
<failOnViolation>false</failOnViolation>
|
||||
<targetJdk>${java.version}</targetJdk>
|
||||
<linkXRef>false</linkXRef>
|
||||
<excludes>
|
||||
<exclude>.*/batis.mapper/*.*</exclude>
|
||||
<exclude>.*/batis.model/*.*</exclude>
|
||||
</excludes>
|
||||
<excludeRoots>.*/batis.mapper/*.*</excludeRoots>
|
||||
<excludeRoots>.*/batis.model/*.*</excludeRoots>
|
||||
<!-- <excludes> -->
|
||||
<!-- <exclude>.*/batis.mapper/*.*</exclude> -->
|
||||
<!-- <exclude>.*/batis.model/*.*</exclude> -->
|
||||
<!-- </excludes> -->
|
||||
<!-- <rulesets> -->
|
||||
<!-- <ruleset>pmd-excludes.xml</ruleset> -->
|
||||
<!-- </rulesets> -->
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
Loading…
Reference in a new issue