Examples of MavenProjectInfo


Examples of org.eclipse.m2e.core.project.MavenProjectInfo

    Model model = new Model();
    model.setGroupId(groupId);
    model.setArtifactId(artifactId);
    model.setVersion(version);
    model.setPomFile(pomFile);
    MavenProjectInfo info = new MavenProjectInfo(projectName, pomFile, model, null);
    infos.add(info);

    manager.importProjects(infos, config , monitor);
  }
View Full Code Here

Examples of org.eclipse.m2e.core.project.MavenProjectInfo

      } else {
        String message = NLS.bind("Bad pom.xml: no name, artifactId, or groupId.", null);
        throw new CoreException(new Status(Status.ERROR, MavenCorePlugin.PLUGIN_ID, message));
      }
    }
    MavenProjectInfo parent = null;
    MavenProjectInfo projectInfo = new MavenProjectInfo(derivedProjectName, pomFile, model, parent);
    ArrayList<MavenProjectInfo> projectInfos = new ArrayList<MavenProjectInfo>();
    projectInfos.add(projectInfo);
    ResolverConfiguration resolverConfiguration = new ResolverConfiguration();
    String activeProfiles = "pom.xml";
    resolverConfiguration.setActiveProfiles(activeProfiles);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.