add parent and sub rest pom file