Better check Maven dependencies without using groovy and remove ANT duplication between Lucene + Solr