Generating proper Eclipse metadata for compiling Photon is the most finicky part of the setup. Checkout http://metc.jottit.com for detailed Mac OS X installation notes.
Thanks for the link. I checked the page it describes general setup like mysql , eclipse and dev env. metedata generation will independent of these dependencies.
Commenting this tags from pom.xml solves the problem