1.问题出现场景
新建一个Java工程,添加testng依赖文件,准备使用mvn install安装testng工具时,点击如下图1,发生以下报错信息图2,“The packaging for this project did not assign a file to the build artifact ”:
图1:
图2:
2.解决办法:
点击maven工具栏如下按钮execute maven goal,指定目录进行安装即可。
1.问题出现场景
新建一个Java工程,添加testng依赖文件,准备使用mvn install安装testng工具时,点击如下图1,发生以下报错信息图2,“The packaging for this project did not assign a file to the build artifact ”:
图1:
图2:
2.解决办法:
点击maven工具栏如下按钮execute maven goal,指定目录进行安装即可。