This is a fully functional example of a solr search component, request handler and update processor plugins with the necessary schema, solrconfig files and a sample doc all included under /src/main/resources.
Tested on Solr 5.4.1
For a better understanding use the following links with the code:
http://www.slideshare.net/searchbox-com/tutorial-on-developin-a-solr-search-component-plugin http://www.slideshare.net/searchbox-com/develop-a-solr-request-handler-plugin https://wiki.apache.org/solr/UpdateRequestProcessor