I have cloned the git code of open tripplanner. Also build it using maven tool but not able to run it.
Specify the command or the entry point to run the code on local machine.
The maven build process creates an executable jar file which you can then run with the command:
java -jar <file.jar>
With a little looking around, I found this minimal OpenTripPlanner usage example which gives you step by step directions to getting it up and running: https://github.com/opentripplanner/OpenTripPlanner/wiki/Minimal-Introduction