title: How to upload ZIP file to Nexus using Maven and avoid creating pom artifact in Nexus?
body: <p>In my project I have couple of files that I pack into a ZIP file and upload it to a Nexus repository.</p>
  
  <p>I implemented both actions using Maven assembly plugin:</p>
  
  <p>POM.XML</p>
  
  <pre><code>&lt;groupId&gt;com.ddd.tools&lt;/groupId&gt;
  &lt;artifactId&gt;mytool&lt;/artifactId&gt;
  &lt;version&gt;2.1.0&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  
  &lt;name&gt;Tool&lt;/name&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;!-- File bin.xml saves information about which files are to be included to the ZIP archive. --&gt;
                  &lt;descriptor&gt;bin.xml&lt;/descriptor&gt;
                  &lt;finalName&gt;${pom.artifactId}-${pom.version}&lt;/finalName&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&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>BIN.XML</p>
  
  <pre><code>&lt;assembly ...&gt;
      &lt;id&gt;bin&lt;/id&gt;
      &lt;formats&gt;
          &lt;format&gt;zip&lt;/format&gt;
      &lt;/formats&gt;
      &lt;fileSets&gt;
          &lt;fileSet&gt;
              &lt;directory&gt;src/release&lt;/directory&gt;
              &lt;outputDirectory&gt;/&lt;/outputDirectory&gt;
              &lt;includes&gt;
                  &lt;include&gt;Tool.exe&lt;/include&gt;
              &lt;/includes&gt;
          &lt;/fileSet&gt;
      &lt;/fileSets&gt;
  &lt;/assembly&gt;
  </code></pre>
  
  <p>Now, when I look in Nexus I see TWO artifacts:</p>
  
  <pre><code>    &lt;dependency&gt;
        &lt;groupId&gt;com.ddd.tools&lt;/groupId&gt;
        &lt;artifactId&gt;mytool&lt;/artifactId&gt;
        &lt;version&gt;2.1.0&lt;/version&gt;
        &lt;type&gt;pom&lt;/type&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.ddd.tools&lt;/groupId&gt;
    &lt;artifactId&gt;mytool&lt;/artifactId&gt;
    &lt;version&gt;2.1.0&lt;/version&gt;
    &lt;classifier&gt;bin&lt;/classifier&gt;
    &lt;type&gt;zip&lt;/type&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I'm only interested in the latter ZIP artifact because it is the ZIP file I uploaded.</p>
  
  <p>How can I get rid of the first POM artifact from Nexus? Or is there any scenario where I could need it?</p>