title: Maven packaging of jars and other files
body: <p>I'm new to maven and have got a project with some dependencies. Now Maven should create a jar file of all <strong><code>/src/main/java</code></strong> files and put them into a directory <strong><code>A</code></strong>. I want to achieve these things in the build process :</p>
  
  <ul>
  <li>Put all dependency jars into a folder <strong><code>B</code></strong></li>
  <li>Put some other files in the project into <strong><code>C</code></strong>.</li>
  <li>Then I need it <strong>gzipped</strong> and <strong>zipped</strong></li>
  <li>Set some <strong>execution permissions set in the gzip</strong>,</li>
  <li>Finally <strong>pushing</strong> the two archives onto some network drive.</li>
  </ul>
  
  <p>I've got that working with ANT but I want to do a clean port to Maven and not invoke the big ANT file.</p>
  
  <p>Can someone point me in the right direction? Which plugins should I use?</p>