To start with the simplest example, please use the cucumber-java-skeleton.
Other examples can be found in this directory.
Some example projects depend on the current (unreleased) Cucumber-JVM modules. If any of the examples fail to build, build cucumber-jvm itself once first:
cd .. # the dir above this dir
mvn clean install
Any of the examples can be built and run with mvn clean verify
.