简体   繁体   English

通过更改 pom.xml 中的目标在 Maven 项目中运行 2 个功能文件

[英]Running 2 feature files in a Maven project by changing goals in pom.xml

I need to run my features file separately using different goals or tags in pom.xml.我需要使用 pom.xml 中的不同目标或标签分别运行我的功能文件。 So whenever I set one goal respective feature files should run.因此,每当我设定一个目标时,都应该运行相应的功能文件。 If there are multiple ways we can achieve this I would appreciate the answers.如果有多种方法可以实现这一点,我将不胜感激。

Thanks in advance.提前致谢。

pom.xml isn't the right vehicle. pom.xml 不是正确的载体。 Take a look at Tags .看看标签

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM