[英]create cucumber java testng maven executable jar project and run from command line
I created my project in Intellij idea with maven set up. 我在Intellij idea中使用maven设置创建了我的项目。
Just I want to build executable jar with complete dependencies and run through command line. 我只是想构建具有完全依赖关系的可执行jar并通过命令行运行。
Ex: java -jar hello.jar 例如:java -jar hello.jar
An example can be found in my blog post Create an executable jar from Maven 在我的博客文章中可以找到一个示例从Maven创建可执行jar
Just make sure you can run Cucumber from your main function. 只要确保您可以从主函数运行Cucumber。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.