create a MavenProject from effective-pom rather than module's pom

I made another branch since I do not know how to revert single commit.
can you review this modification as an expert?

thanks.
Alan.