rewrite maven sample
update doc