SOLR-839 adds a new code dependency between the Solr test code and the Lucene test code. ant handles this with some updates to the common-build.xml (included in SOLR-839) but the maven build mechanism needs updates to the pom.xml.template with an equivalent change.