why the current directory not the target\classes?
===

Using maven for a project say myproject

it has the following myproject\src and myproject\target, and all the class and resources are copied to myproject\target\classes.

However i found the user.dir or current dir is still myproject, why not myproject\target\classes, how to change the current dir to myproject\target\classes?