Elasticsearch 2.2 plugin developement with java and installtion not working. shows jar format not supported

Hello,

I have migrated to Elastic search 2.2 from 1.7.3, I have done all API changes but only one thing is remain. you guys have changed the script native plug-in development also why? in previous version I am just have to create one jar using NativeScript put it in to lib and set its path to elasticsearch.yml and plugin successfully work.

for the new version there is no proper documentation no any example nothing ? why I am not able to use my old plugin in new version even if a have done changes as per new api.

I wanted to do Upper-case on one filed by using ES script plug-in. Please show me a proper documentation to develop native script plug-in in Java-framework and install it in ES with proper steps.

you should have to mention proper steps in ES documentation brother. It's really hard to understand the documentation too.

Well. It's unclear what your exact problem is.
May be you can show some code and logs?

In case it helps: https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-authors.html