How to build logstash into jar ..and make it executable

hi guys ,i want to build logstash into jar.,,can u guys suggest wat steps i need to follow...
have done ES with maven ...but how for logstash ??
...please do help

Why do you want to do this? Maybe there's a better way of accomplishing the same end goal.

I don't want to run it as a daemon service ...if I could make build and get an executable then I can start it as another child process ..also if any plugin I want to configure(later stages )

wat do mean by "better way of accomplishing the same end goal"
1.any another way for my requirement or
2.how to do it
please do help.

I don't want to run it as a daemon service ...if I could make build and get an executable then I can start it as another child process

What's wrong with the script that ships with Logstash (I believe it's bin/logstash in the Logstash distribution tarball)?

wat do mean by "better way of accomplishing the same end goal"

I mean that building Logstash into a single jar file isn't a useful goal in itself. You must have an actual end goal that you want to accomplish in order to solve a particular problem. That problem could perhaps be solved in another way.