They are quite different. 'package' is a simple command used for simple/single projects where you only have to create a jar/war.
The assembly plugin is much more powerful, and can be used to create full distribution packages for large projects. This can be just a simple jar file, but it can also be a large distribution archive for your project, including source code, documentation, etc. You configure what the assembly should look like by means of an XML file called the assembly descriptor.
看了上面你应该大概了解!
相关推荐
Maven-assembly-plugin是maven中针对打包任务而提供的标准插件,可以实现自定义打包。主要提供如下功能: ● 提供一个把工程依赖元素、模块、网站文档等其他文件存放到单个归档文件里。 ● 打包成指定格式分发包,...
Spring Boot项目使用maven-assembly-plugin根据不同环境打包成tar.gz或者zip
maven-assembly 自定义打包方式,可以将工程打包为tar或其他格式,里面保留着配置文件的目录
maven-assembly-plugin-2.2-beta-5.jar
主要介绍了Maven3种打包方式中maven-assembly-plugin的使用,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
maven打包dubbo服务接口(maven-assembly-plugin)
java运行依赖jar包
java运行依赖jar包
maven打包 maven打jar包详细步骤
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...
maven项目、springboot项目使用assembly插件打包,实现项目可配置化、生成系统日志、jar文件与项目分离,并生成windows与linux环境下启动、停止等操作的脚本文件。
NULL 博文链接:https://byx5185.iteye.com/blog/739822
maven+bat打包,通过在maven中配置插件执行bat脚本进行目录下的打包。
Maven跳过测试类打包
Maven2_Struts2.0打包实例 环境:Eclipse3.3.2 jdk 1.5 tomcat:5.5.6 apache-maven-2.0.9 开发步骤: * 安装Eclipse对maven的插件 * 先用命令建一个Web项目:mvn archetype:create -DgroupId=...
maven 依赖包(完整)适合大多数项目,如:log4j-1.2.17.jar等
主要介绍了maven 使用assembly 进行打包的方法,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
Maven的组装插件的例子 该项目包含maven-assembly-plugin用法的示例阅读 yeoman generator(java)生成的项目
maven打包使用yui压缩css和js文件
maven打包项目测试,内含开发版,测试版和生产环境