title: Maven - why maven won't download the dependency pom in addition to the jar file
body: <p>I have a Maven project. One of my dependencies is a zip file. Maven downloads this zip file to the local repository but the pom file is not there too. How can I instruct Maven to download also the pom file? the type of my dependency is zip.</p>
  
  <p><strong>the pom file exists in the remote repository.</strong> 
  the pom file:</p>
  
  <pre><code>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.g.g&lt;/groupId&gt;
  &lt;artifactId&gt;art&lt;/artifactId&gt;
  &lt;name&gt;art&lt;/name&gt;
  &lt;version&gt;1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  
  
  &lt;build&gt;
  
      &lt;plugins&gt;
           &lt;plugin&gt;
              &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
  
              &lt;configuration&gt;
  
                  &lt;descriptors&gt;
                      &lt;descriptor&gt;createZip.xml&lt;/descriptor&gt;
                  &lt;/descriptors&gt;
  
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;make-assembly&lt;/id&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;single&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt; 
              &lt;/executions&gt;
          &lt;/plugin&gt; 
      &lt;/plugins&gt;
  
  &lt;/build&gt;
  </code></pre>
  
  <p>the deploy command:</p>
  
  <pre><code>call mvn clean install
  call mvn deploy:deploy-file -Durl=url -Dpackaging=zip -Dfile="%~dp0\target\art-1-SNAPSHOT.zip" -DgroupId=com.g.g -DartifactId=art -Dversion=1-SNAPSHOT -DrepositoryId=... -DpomFile="pom.xml"
  </code></pre>
  
  <p>the dependency:</p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;com.g.g&lt;/groupId&gt;
  &lt;artifactId&gt;art&lt;/artifactId&gt;    
  &lt;version&gt;1-SNAPSHOT&lt;/version&gt;
  &lt;type&gt;zip&lt;/type&gt;        
  </code></pre>
  
  <p></p>