title: can maven assembly plugin replace maven jar plugin
body: <p>I have this pom.xml file bellow that I'm using for a spark scala project:</p>
  <p>The plugin I commented is:</p>
  <pre><code>&lt;!--            &lt;plugin&gt;--&gt;
  &lt;!--                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;--&gt;
  &lt;!--                &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;--&gt;
  &lt;!--                &lt;version&gt;3.2.2&lt;/version&gt;--&gt;
  
  &lt;!--                &lt;configuration&gt;--&gt;
  &lt;!--                    &lt;archive&gt;--&gt;
  &lt;!--                        &lt;manifest&gt;--&gt;
  &lt;!--                            &lt;mainClass&gt;com.obs.dqsckpi.MySM_SLA_DQ_App&lt;/mainClass&gt;--&gt;
  &lt;!--                            &lt;addClasspath&gt;true&lt;/addClasspath&gt;--&gt;
  &lt;!--                        &lt;/manifest&gt;--&gt;
  &lt;!--                    &lt;/archive&gt;--&gt;
  &lt;!--                &lt;/configuration&gt;--&gt;
  &lt;!--            &lt;/plugin&gt;--&gt;
  </code></pre>
  <p>The assembly plugin config:</p>
  <pre><code>    &lt;plugin&gt;
          &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
          &lt;version&gt;3.1.0&lt;/version&gt;
          &lt;configuration&gt;
              &lt;finalName&gt;dqsc-mysm-sla-dq-assembly-${project.version}&lt;/finalName&gt;
              &lt;appendAssemblyId&gt;false&lt;/appendAssemblyId&gt;
              &lt;descriptors&gt;
                  &lt;descriptor&gt;src/assembly/delivery.xml&lt;/descriptor&gt;
              &lt;/descriptors&gt;
              &lt;attach&gt;false&lt;/attach&gt;
              &lt;archive&gt;
                  &lt;manifest&gt;
                      &lt;mainClass&gt;com.obs.dqsckpi.MySM_SLA_DQ_App&lt;/mainClass&gt;
                      &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                      &lt;classpathPrefix&gt;lib/&lt;/classpathPrefix&gt;
                  &lt;/manifest&gt;
              &lt;/archive&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;
  </code></pre>
  <p>I want to know if I can get ride of jar-plugin because I'm having some errors related to it and also because I'm only using the output of the assembly-plugin to start my jobs.</p>