That is, optional dependencies (only required for compile) should have maven scope of "provided". This includes Lucene, Scala, jaxb etc.
... for pointing that out. Not sure how I missed that.
Fixed in HEAD.