Maven Goals

JBehave supports accessing the Embedder functionality via Maven goals:

Maven goals support the following properties:

An example of a typical Maven plugin usage is:

The default scope is compile, which means that the stories will be looked up in the POM source directory. If the scope is set to test the stories will be looked up in the POM test source directory.