title: How to find a dependency in maven, dependency:tree doesn't work
body: <p>In a effective pom I see</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
      &lt;version&gt;3.3&lt;/version&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;id&gt;default-site&lt;/id&gt;
          &lt;phase&gt;site&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;site&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;outputDirectory&gt;/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site&lt;/outputDirectory&gt;
            &lt;reportPlugins&gt;
              &lt;reportPlugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
              &lt;/reportPlugin&gt;
            &lt;/reportPlugins&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
        &lt;execution&gt;
          &lt;id&gt;default-deploy&lt;/id&gt;
          &lt;phase&gt;site-deploy&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;deploy&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;outputDirectory&gt;/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site&lt;/outputDirectory&gt;
            &lt;reportPlugins&gt;
              &lt;reportPlugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
              &lt;/reportPlugin&gt;
            &lt;/reportPlugins&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
        &lt;outputDirectory&gt;/home/tatiana/repos/selenium-tests/masbuilder-tests/target/site&lt;/outputDirectory&gt;
        &lt;reportPlugins&gt;
          &lt;reportPlugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-project-info-reports-plugin&lt;/artifactId&gt;
          &lt;/reportPlugin&gt;
        &lt;/reportPlugins&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  </code></pre>
  
  <p>But I don't use maven-site-plugin and when I execute 
      mvn dependency:tree</p>
  
  <p>then I don't see any mention of maven-site-plugin or "site" keyword or maven-project-info-reports-plugin in output.</p>
  
  <p>The same for 
      mvn dependency:tree -Dverbose</p>
  
  <p>The problem is error in effective POM which I would like to remove:
  <em>element reportplugins is not allowed here</em></p>
  
  <p>Maybe it is related <em>with maven-surefire-plugin</em> which I use?</p>