After playing around with injecting debug prints, I found that the sbt-jflex plugin assumes sources are in src/main/flex
whereas my project has them in src/main/jflex
. Adding the following fixes it:
sourceDirectory in jflex <<= (sourceDirectory in Compile) { _ / "jflex" }