<?xml version="1.0" encoding="UTF-8"?>

<ruleset name="Custom Java Ruleset"
         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>
        Custom ruleset for Java
    </description>

    <rule ref="category/java/bestpractices.xml">
        <!-- System.println is ok in simple Console App -->
        <exclude name="SystemPrintln" />
    </rule>

    <rule ref="category/java/codestyle.xml" />

    <rule ref="category/java/design.xml" />
    <rule ref="category/java/design.xml/LoosePackageCoupling">
        <properties>
            <property name="packages" value="de.kneitzel" />
            <!-- <property name="classes" value="" /> -->
        </properties>
    </rule>

    <rule ref="category/java/documentation.xml" />

    <rule ref="category/java/errorprone.xml" />

    <rule ref="category/java/multithreading.xml" />

    <rule ref="category/java/performance.xml" />

    <rule ref="category/java/security.xml" />

</ruleset>
