dependency-check Maven Plugin
<p>I am trying to get the Maven plugin working to get the <strong>dependency-check</strong> report. My end goal is to come up with a security-report of the security vulnerabilities on my project.</p>

<p>The Maven snippet which I am using is -</p>

<pre><code>&lt;build&gt;
        &lt;pluginManagement&gt;
            &lt;plugins&gt;
             ..
             ..
              &lt;plugin&gt;
                &lt;groupId&gt;org.owasp&lt;/groupId&gt;
                &lt;artifactId&gt;dependency-check-maven&lt;/artifactId&gt;
                &lt;version&gt;1.4.0&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;dataDirectory&gt;/somepath/data&lt;/dataDirectory&gt;
                &lt;/configuration&gt;
                &lt;executions&gt;
                  &lt;execution&gt;
                    &lt;goals&gt;
                      &lt;goal&gt;aggregate&lt;/goal&gt;
                    &lt;/goals&gt;
                  &lt;/execution&gt;
                &lt;/executions&gt;
              &lt;/plugin&gt;
            &lt;/plugins&gt;
        &lt;/pluginManagement&gt;
    &lt;/build&gt;
</code></pre>

<p>For my build I am using '</p>

<blockquote>
  <p>mvn -B -U clean install site:site</p>
</blockquote>

<p>However, I don't see the dependency-checks being triggered. </p>

<p>I also tried </p>

<blockquote>
  <p>mvn -B -U org.owasp:dependency-check-maven:1.4.0:check -Dformat=XML</p>
</blockquote>

<p>No luck either. I get an error -</p>

<blockquote>
  <p>[ERROR] BUILD ERROR [INFO]
  ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal
  'org.owasp:dependency-check-maven:1.4.0:check': Unable to find the
  mojo 'check' (or one of its required components) in the plugin
  'org.owasp:dependency-check-maven' Can not set
  org.sonatype.plexus.components.cipher.PlexusCipher field
  org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher._cipher
  to org.sonatype.plexus.components.cipher.DefaultPlexusCipher</p>
</blockquote>

<p>Where am I going wrong? Thanks and apologies if the question is way too basic!</p>