Maven Plugin Notes

maven-jar-plugin

  1. 协助Jar打包
  2. org.apache.maven.plugins
    maven-jar-plugin



    sparkexample1.App


maven-assembly-plugin

  1. The Assembly Plugin for Maven is primarily intended to allow users to aggregate the project output along with its dependencies, modules, site documentation, and other files into a single distributable archive.
  2. org.apache.maven.plugins
    maven-assembly-plugin
    2.4


    jar-with-dependencies



    com.your-package.MainClass




    package
    single