简体   繁体   中英

create cucumber java testng maven executable jar project and run from command line

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.

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