added build with dependency capability in maven