http://stackoverflow.com/questions/7531115/whats-the-difference-between-mvndeploy-and-mvninstall-commands
mvn:install copies
your packaged Maven module to your local repository (by default, in ~/.m2/repository),
to be accessed by other local Maven builds.
mvn:deploy uploads
your packaged Maven module to another (usually remote) repository, to be accessed by other, not necessarily local, Maven builds.
Maven安装与部署区别
本文解释了Maven中mvn:install与mvn:deploy命令的区别。前者将打包后的模块复制到本地仓库,默认路径为~/.m2/repository,便于本地其他Maven构建访问;后者则将模块上传至远程仓库,可供所有Maven构建使用。
354

被折叠的 条评论
为什么被折叠?



