[英]m2eclipse filtering test resources
I am using m2eclipse and I want to right click and run tests from inside eclipse while the test resources get filtered from Maven. 我正在使用m2eclipse,我想从Eclipse内部右键单击并运行测试,同时从Maven中过滤掉测试资源。 How can I do this?
我怎样才能做到这一点? From eclipse when I right click on a test I do not get any m2eclipse options
当我右键单击测试时,从eclipse中我没有任何m2eclipse选项
Julia. 朱莉娅
Similar to: 如同:
Debugging maven junit tests with filtered resources? 使用过滤的资源调试Maven junit测试?
右键单击项目->运行方式-> Maven测试
pom.xml
(and you'll get filtering under Eclipse with m2eclipse, m2eclipse runs process-resources
after a change of any resource). pom.xml
设置过滤(您将在Eclipse下使用m2eclipse进行过滤,m2eclipse在更改任何资源后将运行process-resources
资源)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.