<?xml version="1.0"?>
<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 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
    name="RxBroadcast PMD Rules">

    <rule ref="category/java/errorprone.xml">
        <exclude name="AvoidDuplicateLiterals" />
        <exclude name="AvoidFieldNameMatchingMethodName" />
        <exclude name="BeanMembersShouldSerialize" />
        <exclude name="DataflowAnomalyAnalysis" />
    </rule>
    <rule ref="category/java/multithreading.xml">
        <exclude name="DoNotUseThreads" />
    </rule>
    <rule ref="category/java/performance.xml">
        <exclude name="AvoidInstantiatingObjectsInLoops" />
    </rule>
    <rule ref="category/java/security.xml" />

</ruleset>

<?xml version="1.0"?>
<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 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
    name="RxBroadcast PMD Rules">

    <description>PMD Rules for RxBroadcast</description>

    <rule ref="category/java/errorprone.xml">
        <exclude name="AvoidDuplicateLiterals" />
        <exclude name="AvoidFieldNameMatchingMethodName" />
        <exclude name="BeanMembersShouldSerialize" />
        <exclude name="DataflowAnomalyAnalysis" />
    </rule>
    <rule ref="category/java/multithreading.xml">
        <exclude name="DoNotUseThreads" />
    </rule>
    <rule ref="category/java/performance.xml">
        <exclude name="AvoidInstantiatingObjectsInLoops" />
    </rule>
    <rule ref="category/java/security.xml" />

</ruleset>

Add RuleSet description for PMD
Add RuleSet description for PMD

Refs pmd/pmd#470
