How do I exclude a package for a specific findbugs rule
<p>I've tried several iterations, but here's my latest </p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;FindBugsFilter&gt;
  &lt;Match&gt;
    &lt;Package name="~com[.]xenoterracide[.]rpf[.]([.].*)?"/&gt;
    &lt;Bug code="SE_TRANSIENT_FIELD_NOT_RESTORED"/&gt;
  &lt;/Match&gt;
&lt;/FindBugsFilter&gt;
</code></pre>

<p>ultimately I'd like to get all packages matching (glob syntax)</p>

<p><code>com.xenoterracide.rpf.*.ui</code> or maybe just <code>com.xenoterracide.rpf.*</code></p>

<pre><code>INFO] The field com.xenoterracide.rpf.character.ui.CharactersView.editDialog is transient but isn't set by deserialization [com.xenoterracide.rpf.character.ui.CharactersView] In CharactersView.java SE_TRANSIENT_FIELD_NOT_RESTORED
[INFO] The field com.xenoterracide.rpf.character.ui.CharactersView.messenger is transient but isn't set by deserialization [com.xenoterracide.rpf.character.ui.CharactersView] In CharactersView.java SE_TRANSIENT_FIELD_NOT_RESTORED
[INFO] The field com.xenoterracide.rpf.character.ui.CharactersView.repo is transient but isn't set by deserialization [com.xenoterracide.rpf.character.ui.CharactersView] In CharactersView.java SE_TRANSIENT_FIELD_NOT_RESTORED
[INFO] The field com.xenoterracide.rpf.ui.NavigationBar.messages is transient but isn't set by deserialization [com.xenoterracide.rpf.ui.NavigationBar] In NavigationBar.java SE_TRANSIENT_FIELD_NOT_RESTORED
[INFO] The field com.xenoterracide.rpf.ui.components.EditDialog.repository is transient but isn't set by deserialization [com.xenoterracide.rpf.ui.components.EditDialog] In EditDialog.java SE_TRANSIENT_FIELD_NOT_RESTORED
[INFO]
</code></pre>

<p>config in parent</p>

<pre><code>  &lt;plugin&gt;
    &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
    &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
    &lt;version&gt;3.0.3&lt;/version&gt;
    &lt;configuration&gt;
      &lt;effort&gt;Max&lt;/effort&gt;
      &lt;threshold&gt;Low&lt;/threshold&gt;
      &lt;xmlOutput&gt;false&lt;/xmlOutput&gt;
      &lt;excludeFilterFile&gt;findbugs-exclude.xml&lt;/excludeFilterFile&gt;
    &lt;/configuration&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;phase&gt;test-compile&lt;/phase&gt;
        &lt;goals&gt;
          &lt;goal&gt;check&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
  &lt;/plugin&gt;
</code></pre>

<p>This, works, but is rather verbose and won't scale</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;FindBugsFilter&gt;
  &lt;Match&gt;
    &lt;Class name="com.xenoterracide.rpf.character.ui.CharactersView"/&gt;
    &lt;Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/&gt;
  &lt;/Match&gt;
  &lt;Match&gt;
    &lt;Class name="com.xenoterracide.rpf.character.ui.CharacterEditDialog"/&gt;
    &lt;Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/&gt;
  &lt;/Match&gt;
  &lt;Match&gt;
    &lt;Class name="com.xenoterracide.rpf.ui.NavigationBar"/&gt;
    &lt;Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/&gt;
  &lt;/Match&gt;
  &lt;Match&gt;
    &lt;Class name="com.xenoterracide.rpf.ui.components.EditDialog"/&gt;
    &lt;Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/&gt;
  &lt;/Match&gt;
&lt;/FindBugsFilter&gt;
</code></pre>