Add this plugin to your Maven build
(get their versions from Maven Central):
On every run of compile phase Requs compiler will
generate its output files in target/requs.
On every run of site phase you will get the same files
in target/site/requs directory.
Keep your source files in src/requs with .req extension. All
of them will be picked up by Requs compiler, recursively searching
in all sub-directories.
Extra Configuration
You can add extra configuration parameters to be passed
into Requs compiler, using options element:
All options are passed to the
Compiler
class as a map of strings.