title: Use dependency command line parameters with maven build
body: <p>I am using <code>findbugs-maven-plugin</code> in the verify phase of the maven life cycle. i.e. it runs on <code>mvn clean install</code>. This is the code I have in my parent <code>pom.xml</code> (in a multi-module project). </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.0&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
             &lt;id&gt;findbugs&lt;/id&gt;
             &lt;phase&gt;verify&lt;/phase&gt;
             &lt;goals&gt;
                 &lt;goal&gt;check&lt;/goal&gt;
             &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;findbugsXmlOutputDirectory&gt;target/findbugs&lt;/findbugsXmlOutputDirectory&gt;
          &lt;failOnError&gt;false&lt;/failOnError&gt;
      &lt;/configuration&gt;
   &lt;/plugin&gt;
  
   &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
       &lt;artifactId&gt;xml-maven-plugin&lt;/artifactId&gt;
       &lt;version&gt;1.0&lt;/version&gt;
       &lt;executions&gt;
           &lt;execution&gt;
               &lt;phase&gt;verify&lt;/phase&gt;
               &lt;goals&gt;
                  &lt;goal&gt;transform&lt;/goal&gt;
               &lt;/goals&gt;
           &lt;/execution&gt;
       &lt;/executions&gt;
       &lt;configuration&gt;
          &lt;transformationSets&gt;
             &lt;transformationSet&gt;
                &lt;dir&gt;target/findbugs&lt;/dir&gt;
                &lt;outputDir&gt;target/findbugs&lt;/outputDir&gt;
                &lt;stylesheet&gt;plain.xsl&lt;/stylesheet&gt;
                &lt;fileMappers&gt;
                   &lt;fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"&gt;
                   &lt;targetExtension&gt;.html&lt;/targetExtension&gt;
                   &lt;/fileMapper&gt;
                &lt;/fileMappers&gt;
             &lt;/transformationSet&gt;
         &lt;/transformationSets&gt;
       &lt;/configuration&gt;
       &lt;dependencies&gt;
           &lt;dependency&gt;
               &lt;groupId&gt;com.google.code.findbugs&lt;/groupId&gt;
               &lt;artifactId&gt;findbugs&lt;/artifactId&gt;
               &lt;version&gt;2.0.0&lt;/version&gt;
           &lt;/dependency&gt;
       &lt;/dependencies&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>This is working fine and html files are being generated in each module target. However I want to take this a step further by being able to use parameters allowed by findbugs during the maven build (for example <code>onlyAnalyze</code>). I do not want to add configuration in the <code>pom.xml</code>. </p>
  
  <p>I want the build process to remain the same unless I specify by some command that I want to analyze only one class, for example by running:</p>
  
  <pre><code>mvn clean install -Dfindbugs:onlyAnalyze=MyClass
  </code></pre>
  
  <p>Do you know of a way I can do this?</p>