fix maven compilation problem. improve maven root path