Move the solr query part here since metacat-index needs to query the solr server too.
exclude jibx-tools, maven cruft and org.eclipse "dependencies" to cut down on the number of jar files in the lib folder.
format before editing
Add a new module for sharing the between the metacat and metacat-index.