cd Hashr2 mvn clean package This will output the jar file. Move the jar file to solr/solr/extra-libs directory. The name of the jar doesn't matter.