maven:导出maven依赖的jar文件到指定目录

如想把maven 下载的jar包导入到WebContent/WEB-INF/lib/目录,
进入pom.xml目录下执行命令:

mvn dependency:copy-dependencies -DoutputDirectory=WebContent/WEB-INF/lib/

猜你喜欢

转载自blog.csdn.net/xuejianbest/article/details/84859039