title: is there difference between dependencies and dependencies in plugin tags?
body: <p>I have a question.</p>
  
  <p>In pom.xml, dependency is included in two places.
  one place can be in <code>&lt;project&gt;</code> tag and the other place can be in <code>&lt;plugin&gt;</code> tag.</p>
  
  <p>I think the dependencies in  tags is just related with the plugin?
  is it correct?</p>
  
  <p>thanks in advance :)</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
     &lt;artifactId&gt;clustered-queue&lt;/artifactId&gt;
     &lt;packaging&gt;jar&lt;/packaging&gt;
     &lt;name&gt;HornetQ JMS Clustered Queue Example&lt;/name&gt;
  
     &lt;dependencies&gt;
  
        &lt;dependency&gt;
           &lt;groupId&gt;org.hornetq.examples.jms&lt;/groupId&gt;
           &lt;artifactId&gt;hornetq-jms-examples-common&lt;/artifactId&gt;
           &lt;version&gt;${project.version}&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.jboss.spec.javax.jms&lt;/groupId&gt;
           &lt;artifactId&gt;jboss-jms-api_1.1_spec&lt;/artifactId&gt;
        &lt;/dependency&gt;
  
     &lt;/dependencies&gt;
  
     &lt;build&gt;
        &lt;plugins&gt;
           &lt;plugin&gt;
              &lt;groupId&gt;org.hornetq&lt;/groupId&gt;
              &lt;artifactId&gt;hornetq-maven-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                 &lt;execution&gt;
                    &lt;id&gt;start1&lt;/id&gt;
                    &lt;goals&gt;
                       &lt;goal&gt;start&lt;/goal&gt;
                    &lt;/goals&gt;
                    &lt;configuration&gt;
                       &lt;jndiPort&gt;1199&lt;/jndiPort&gt;
                       &lt;jndiRmiPort&gt;1198&lt;/jndiRmiPort&gt;
                       &lt;hornetqConfigurationDir&gt;${basedir}/target/classes/hornetq/server1&lt;/hornetqConfigurationDir&gt;
                       &lt;fork&gt;true&lt;/fork&gt;
                       &lt;systemProperties&gt;
                          &lt;property&gt;
                             &lt;name&gt;udp-address&lt;/name&gt;
                             &lt;value&gt;${udp-address}&lt;/value&gt;
                          &lt;/property&gt;
                       &lt;/systemProperties&gt;
                    &lt;/configuration&gt;
                 &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;dependencies&gt;
  
                 &lt;dependency&gt;
                    &lt;groupId&gt;org.hornetq&lt;/groupId&gt;
                    &lt;artifactId&gt;hornetq-core-client&lt;/artifactId&gt;
                    &lt;version&gt;${project.version}&lt;/version&gt;
                 &lt;/dependency&gt;
                 &lt;dependency&gt;
                    &lt;groupId&gt;org.hornetq&lt;/groupId&gt;
                    &lt;artifactId&gt;hornetq-server&lt;/artifactId&gt;
                    &lt;version&gt;${project.version}&lt;/version&gt;
                 &lt;/dependency&gt;
  
              &lt;/dependencies&gt;
              &lt;configuration&gt;
                 &lt;waitOnStart&gt;false&lt;/waitOnStart&gt;
              &lt;/configuration&gt;
           &lt;/plugin&gt;
        &lt;/plugins&gt;
     &lt;/build&gt;
  
  &lt;/project&gt;
  </code></pre>