Put Maven pom.xml outside of project tree - How to ?

It there a way to put pom.xml outside of project tree ?

 

As I understant I need override project.basedir, but how?

 

Is there a way to inject basedir from outside ?

Developer