title: How to deploy zip file to Nexus repository via Maven
body: <p>I have a zip file which I want to deploy to a Nexus repository. So I created a pom.xml file and a settings.xml file to do this. I was able to successfully upload to nexus but it seems it was deployed as a jar file</p>
  
  <p>When I put in <code>&lt;packaging&gt;zip&lt;/packaging&gt;</code> element, maven doesn't recognize it. How can I accomplish my goal of deploying my zip file to nexus? Any help will be greatly appreciated. </p>
  
  <p>Contents of directory:
  1. content.zip
  2. pom file
  3. settings file</p>
  
  <p><strong>pom.xml:</strong></p>
  
  <pre><code>&lt;project&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.company.ct.ty16.archive&lt;/groupId&gt;
      &lt;artifactId&gt;contentzip&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;Deploy-zip-file&lt;/name&gt;
      &lt;description&gt;Deploy zipped content file on Jenkins to Nexus&lt;/description&gt;
      ...
      ...
      ...
      &lt;/project&gt;
  </code></pre>
  
  <p>Note: I am not using maven to build the content.zip file, just upload it</p>