IDEA打包Maven项目
方法一:使用IDEA集成按钮实现打包
打开项目右侧的 maven窗口:
进行如下配置:
方法二:添加maven命令来执行打包
依次点上面两个按钮,
点上面加号按钮,
选maven,
输入maven命令 package -Dmaven.test.skip=true
应用、ok
这样在最近使用运行栏中就有我们自定义的打包命令db了,要使用的时候,选它,
然后点后面的执行按钮就可以了。
IDEA打包Maven项目
方法一:使用IDEA集成按钮实现打包
打开项目右侧的 maven窗口:
进行如下配置:
方法二:添加maven命令来执行打包
依次点上面两个按钮,
点上面加号按钮,
选maven,
输入maven命令 package -Dmaven.test.skip=true
应用、ok
这样在最近使用运行栏中就有我们自定义的打包命令db了,要使用的时候,选它,
然后点后面的执行按钮就可以了。
【IDEA】idea设置默认maven配置, 避免每次设置maven
1.如下图三部即可,如果你的maven项目有子父关系,则运行父级即可tong
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M