Added sample Java plugin SamplePlugin.java and a script to build the sample plugin.