public MModuleBuilder(String groupId, String artifactId, String version) {
   this.mModule = new MModule(groupId, artifactId, version);
   mModule.setDependencyTree(
       new MDependency(
           mModule.getGroupId(),
           mModule.getArtifactId(),
           mModule.getVersion(),
           "compile",
           false));
 }
 public MModuleBuilder withDependency(MDependency dependency) {
   mModule.getDependencyTree().getDependencies().add(dependency);
   return this;
 }
 public MModuleBuilder withDependency(MModule module) {
   mModule.getDependencyTree().getDependencies().add(module.getDependencyTree());
   return this;
 }
 public MModuleBuilder withModule(MModule module) {
   mModule.getSubModules().add(module);
   return this;
 }