This is a small Maven project that demonstrates the use of jflex-maven-plugin.

main/flex/simple.flex:
  the example specification

test/resources/test.txt:
  sample input

test/resources/output.good:
  expected output matching the sample input from test.txt