I created my project in Intellij idea with maven set up.
Just I want to build executable jar with complete dependencies and run through command line.
Ex: java -jar hello.jar
An example can be found in my blog post Create an executable jar from Maven
Just make sure you can run Cucumber from your main function.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.